Delete an endpoint
DELETE
/api/v1/webhooks/{id}
const url = 'https://trongas.ai/api/v1/webhooks/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'DELETE', headers: {'X-Api-Key': '<X-Api-Key>'}};
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://trongas.ai/api/v1/webhooks/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'X-Api-Key: <X-Api-Key>'Required API-key scope: full
Remove the endpoint and stop delivering to it. To pause temporarily, disable it instead — deleting loses the secret.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Responses
Section titled “Responses”No Content