Addons /
Abort backup restore
Aborts an in-progress backup restore.
Required permission
Project > Addons > General > Update
Path parameters
projectId
string requiredID of the projectaddonId
string requiredID of the addonbackupId
string requiredID of the backup
Query parameters
sourceProjectId
stringSpecify the source projectId when referring to a global backup.sourceAddonId
stringSpecify the source addonId when referring to a global backup.
Request body
- {object}
restoreId
string requiredID of the restore to abort.
Response body
- {object}Response object.
data
{object} requiredResult data.
API
CLI
JS Client
POST /v1/projects/{projectId}/addons/{addonId}/backups/{backupId}/abort-restore
Example request
Request body
curl
curl --header "Content-Type: application/json" \
--header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
--request POST \
--data '{"restoreId":"66845073ce75649ad18635f0"}' \
https://api.northflank.com/v1/projects/{projectId}/addons/{addonId}/backups/{backupId}/abort-restore
Example response
200 OK
The operation was performed successfully.
JSON
{
"data": {}
}