Remove a notification method
DELETE/api/v1/notification-preferences/{id}
Removes one of the caller's notification methods. These are the caller's own, across every organization they belong to. Meant for a person; with an organization API key the key itself is the caller.
Permission: none — any valid API key or signed-in member of the organization.
Authorization
Parameters
Path parameters
idstring requiredThe notification preference's id.
Responses
204
Removed.
401
No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThe request'sX-Request-ID. Quote it to support.
404
The caller has no preference with this id (NOT_FOUND).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThe request'sX-Request-ID. Quote it to support.
429
Too many requests (RATE_LIMITED). Wait Retry-After seconds.
Retry-AfterintegerSeconds to wait.
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThe request'sX-Request-ID. Quote it to support.
500
Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThe request'sX-Request-ID. Quote it to support.
Example request
curl -X DELETE 'https://evohub.io/api/v1/notification-preferences/string' \
-H 'Authorization: Bearer <TOKEN>'
