Backup Destinations
List backup destinations
Returns all backup destinations for the organization. Sensitive credentials are redacted.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
OK
Create a backup destination
Creates a new backup destination (S3, GCS, SFTP, etc.). Config is encrypted and connection is auto-tested.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Request Body
application/jsonRequiredDestination details
configobjectplaintext JSON, encrypted before storage
destinationTypestringnamestringCreated
Handle OAuth callback
Handles the OAuth redirect from cloud providers, exchanges the authorization code for tokens, and saves them. Expected browser authorization denials redirect to settings with a fixed, non-sensitive error code.
Query Parameters
codestringOAuth authorization code (required unless the provider returned an error)
stateRequiredstringOpaque, one-time state bound to the initiating browser and authenticated context
errorstringOAuth provider error code
Redirect to settings page
Get backup destination details
Returns a single backup destination's details with redacted credentials.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Path Parameters
idRequiredstringDestination UUID
OK
Delete a backup destination
Deletes a backup destination. Returns 409 if it is referenced by active backup schedules.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Path Parameters
idRequiredstringDestination UUID
OK
Update a backup destination
Updates a backup destination's name, type, and config. Re-encrypts and re-tests the connection.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Request Body
application/jsonRequiredUpdated destination details
configobjectplaintext JSON, encrypted before storage
destinationTypestringnamestringPath Parameters
idRequiredstringDestination UUID
OK
Initiate OAuth for destination
Generates an OAuth authorization URL for Google Drive or OneDrive backup destinations.
Authorization
Cookie<token>Browser session JWT sent as the access_token cookie. Swagger 2 represents this cookie through the Cookie header.
In: header
Authorization<token>oCore API key sent as Authorization: Bearer ocore_. JWT bearer tokens are not accepted in this header for these operations.
In: header
Path Parameters
idRequiredstringDestination UUID
OK
Test destination connection
Tests the connection to the backup destination. Returns 200 on success, 422 on failure.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Path Parameters
idRequiredstringDestination UUID
OK