Start connecting a cloud account; the browser goes to auth_url, the service's consent page (OAuth2 with PKCE)
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
POST
/api/v1/tenants/{tid}/backups/cloud/connectStart connecting a cloud account; the browser goes to auth_url, the service's consent page (OAuth2 with PKCE)
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
X-CSRF-Token | header | string | optional | Required on unsafe requests authenticated by session cookie; API keys do not use it. |
Request body
required
Content type: application/json
object
providerstring requiredAllowed values:"gdrive""onedrive""dropbox"folderstring optionalDefault: Zopanel backups
Example
{
"provider": "gdrive",
"folder": "string"
}Responses
200 Where to send the browser
Content type: application/json
object
auth_urlstring required
Example
{
"auth_url": "string"
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required