Detach site file backup notification channel
Detach a notification channel from a site file backup.
DELETE/api/backups/file/{fileBackupId}/notification-channels/{channelId}
Detach site file backup notification channel
This endpoint detaches a notification channel from the site file backup. Without a location the channel is detached from every location it is attached to. Returns a 404 when the channel is not attached (at that location).
The response contains the channels that are still attached to the site file backup.
Optional parameters
- Name
location- Type
- string
- Description
Only detach the channel from this location:
before-backup,after-backuporfailed-backup.
Request
DELETE
/api/backups/file/{fileBackupId}/notification-channels/{channelId}curl -X DELETE "https://ploi.io/api/backups/file/1/notification-channels/12?location=failed-backup" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Response
{
"data": []
}