Delete a webhook endpoint
DELETE
/v1/webhook-endpoints/{id}
const url = 'https://api.staging.heliumid.io/v1/webhook-endpoints/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://api.staging.heliumid.io/v1/webhook-endpoints/example \ --header 'Authorization: Bearer <token>'No further deliveries; its delivery history is kept.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”Deleted: no further deliveries. Its delivery history is kept.
Invalid request
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
correlationId
required
string
Example generated
{ "error": { "code": "example", "message": "example", "correlationId": "example" }}Not authenticated
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
correlationId
required
string
Example generated
{ "error": { "code": "example", "message": "example", "correlationId": "example" }}Not found
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
correlationId
required
string
Example generated
{ "error": { "code": "example", "message": "example", "correlationId": "example" }}