Set a service's OAuth client; an empty secret keeps the old one, an empty client id removes the service
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
PUT
/api/v1/tenants/{tid}/backup-cloud-apps/{provider}Set a service's OAuth client; an empty secret keeps the old one, an empty client id removes the service
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. |
provider | path | string | required | Allowed values: "gdrive" "onedrive" "dropbox" |
Request body
required
Content type: application/json
object
client_idstring requiredclient_secretstring optionalWrite only
Example
{
"client_id": "string",
"client_secret": "string"
}Responses
200 Saved
Content type: application/json
providerstring requiredAllowed values:"gdrive""onedrive""dropbox"client_idstring requiredconfiguredboolean requiredupdated_atstring (date-time) | null requiredredirect_urlstring requiredRegister this redirect URI at the service; empty until the panel's public address is set
Example
{
"provider": "gdrive",
"client_id": "string",
"configured": true,
"updated_at": "2026-01-01T00:00:00Z",
"redirect_url": "string"
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required