Delete a notification destination
curl --request DELETE \
--url https://beta.creatorcore.co/api/v2/utilities/notifications/destinations/{id} \
--header 'Authorization: Bearer <token>' \
--header 'X-CreatorCore-Organization-Id: <api-key>'const options = {
method: 'DELETE',
headers: {Authorization: 'Bearer <token>', 'X-CreatorCore-Organization-Id': '<api-key>'}
};
fetch('https://beta.creatorcore.co/api/v2/utilities/notifications/destinations/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/utilities/notifications/destinations/{id}"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.delete(url, headers=headers)
print(response.text)Notification destinations
Delete a notification destination
Deletes a notification destination and its subscriptions. Past deliveries stay in the log with their destinationId. Signed-in organization members (admin or member role) can manage every destination type. Organization API keys can manage webhook destinations and their subscriptions only, and only when the key is granted this operation by name (a key granted all operations does not include it). Connected-app (OAuth) tokens are not accepted.
DELETE
/
api
/
v2
/
utilities
/
notifications
/
destinations
/
{id}
Delete a notification destination
curl --request DELETE \
--url https://beta.creatorcore.co/api/v2/utilities/notifications/destinations/{id} \
--header 'Authorization: Bearer <token>' \
--header 'X-CreatorCore-Organization-Id: <api-key>'const options = {
method: 'DELETE',
headers: {Authorization: 'Bearer <token>', 'X-CreatorCore-Organization-Id': '<api-key>'}
};
fetch('https://beta.creatorcore.co/api/v2/utilities/notifications/destinations/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/utilities/notifications/destinations/{id}"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.delete(url, headers=headers)
print(response.text)Authorizations
Response
Deleted
Was this page helpful?