API referenceSections

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

NameInTypeRequiredDescription
tidpathstringrequired
X-CSRF-Tokenheaderstringoptional

Required on unsafe requests authenticated by session cookie; API keys do not use it.

providerpathstringrequired
Allowed values: "gdrive" "onedrive" "dropbox"

Request body

required

Content type: application/json

object
  • client_id string required
  • client_secret string optional

    Write only

Example
{
  "client_id": "string",
  "client_secret": "string"
}

Responses

200 Saved

Content type: application/json

  • provider string required
    Allowed values: "gdrive" "onedrive" "dropbox"
  • client_id string required
  • configured boolean required
  • updated_at string (date-time) | null required
  • redirect_url string required

    Register 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

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required