Backup Destinations /
Patch backup destination
Updates a backup destination.
Required permission
Account > BackupDestinations > General > Update
Path parameters
backupDestinationId
string requiredID of the backup destination
Request body
- {object}
name
stringThe 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\\/'"()[\];`%^&*\-_:!]+$credentials
{object}Credentials 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.com
Response body
- {object}Response object.
data
{object} requiredResult data.
API
CLI
JS Client
PATCH /v1/backup-destinations/{backupDestinationId}
Example request
Request body
curl
curl --header "Content-Type: application/json" \
--header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
--request PATCH \
--data '{"name":"Example Backup Destination"}' \
https://api.northflank.com/v1/backup-destinations/{backupDestinationId}
Example response
200 OK
The operation was performed successfully.
JSON
{
"data": {}
}