Revoke an App event subscription
DELETE
/api/v1/apps/events/subscriptions/{id}
const url = 'https://example.com/api/v1/apps/events/subscriptions/example';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://example.com/api/v1/apps/events/subscriptions/example \ --header 'Authorization: Bearer <token>'Revoke the subscription with this ID for the signed-in User. Another User’s subscription returns the same 404 as a missing ID. Account scope is required. Requests can return 401 if the session is missing or 403 if the User lacks account scope. Route: /api/v1/apps/events/subscriptions/{id}. Inputs: id. Do not automatically replay this operation after an uncertain result.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string