Backup Destinations /
List backup destinations
Lists the backup destinations saved to this account. Does not display secrets.
Required permission
Account > BackupDestinations > General > Read
Query parameters
per_page
integerThe number of results to display per request. Maximum of 100 results per page.page
integerThe page number to access.cursor
stringThe cursor returned from the previous page of results, used to request the next page.
Response body
- {object}Response object.
data
{object} requiredResult data.backupDestinations
[array] requiredList of backup destinations.- {object}
name
string requiredThe name of the backup destination.min length3max length100pattern^[a-zA-Z0-9]+((-|\s)[a-zA-Z0-9]+)*$description
stringmax length200pattern^[a-zA-Z0-9.,?\s\\/'"()[\];`%^&*\-_:!]+$type
string requiredType of the backup destination.one ofs3prefix
string requiredA prefix path to add to the bucket objects if not writing to /pattern^([a-zA-Z0-9-_]+)\/$credentials
{object} requiredCredentials used for the backup destination.accessKey
string requiredsecretKey
string requiredbucketName
string requiredregion
string requiredendpoint
string requiredS3 destination including region, fe s3.us-west-2.amazonaws.compagination
{object} requiredData about the endpoint pagination.hasNextPage
boolean requiredIs there another page of results available?cursor
stringThe cursor to access the next page of results.count
number requiredThe number of results returned by this request.
API
CLI
JS Client
GET /v1/backup-destinations
Example response
200 OK
A list of backup destination saved to this account.
JSON
{
"data": {
"backupDestinations": [
{
"name": "Example Backup Destination"
}
]
},
"pagination": {
"hasNextPage": false,
"count": 1
}
}