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.
Query Parameters
codeRequiredstringOAuth authorization code
stateRequiredstringState parameter (destination_id:provider)
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
Authorization<token>JWT Bearer token (format: Bearer {token})
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