Disable Webhook
Disable a webhook.
/webhooks/disable/:webhook_id
POST
https://api.terminal.africa/v1/webhooks/disable/:webhook_id
This endpoint allows you to disable an active webhook.
Path Parameters
Name
Type
Description
Authorization*
string
Set value to Bearer SECRET_KEY
{
status: true,
message: 'Webhook disabled successfully',
data: {
active: false,
event: ['shipment.created'],
live: true,
name: 'Shipment Create',
url: 'https://terminal-africa.com/webhooks/shipmonk',
user: '6aVb7978zZYmke2gJPF9WppUEWvvK5OU',
webhook_id: 'WA-70919934470',
created_at: '2021-07-13T20:25:53.011Z',
updated_at: '2021-07-13T20:25:53.011Z'
}
}
Last updated
Was this helpful?