Delete a webhook configuration so it no longer receives notifications.
Delete a webhook configuration so it no longer receives notifications. The webhook's status is changed to 'archived'. Delivery logs and history remain available for auditing.
bearer Standard HTTP Bearer authentication using JWT. Provide your API key in the Authorization header as 'Bearer '.
In: header
The webhookId parameter
curl -X DELETE "https://api-sandbox.fndev.net/api/v1/webhooks/string"{
"metadata": {
"timestamp": "2019-08-24T14:15:22Z"
},
"result": {
"id": 0,
"webhookId": "string",
"companyId": 0,
"userId": 0,
"events": [
"string"
],
"url": "string",
"method": "post",
"status": "active",
"secret": "string",
"notificationEmail": "string",
"modelProperties": [
"string"
],
"isIntegrationOnly": true,
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
}{
"metadata": {
"timestamp": "2019-08-24T14:15:22Z",
"path": "string"
},
"errors": [
{
"code": 0,
"message": "string"
}
],
"result": null
}{
"metadata": {
"timestamp": "2019-08-24T14:15:22Z",
"path": "string"
},
"errors": [
{
"code": 0,
"message": "string"
}
],
"result": null
}{
"metadata": {
"timestamp": "2019-08-24T14:15:22Z",
"path": "string"
},
"errors": [
{
"code": 404,
"message": "Webhook not found"
}
],
"result": null
}{
"metadata": {
"timestamp": "2019-08-24T14:15:22Z",
"path": "string"
},
"errors": [
{
"code": 0,
"message": "string"
}
],
"result": null
}application/json
application/json
application/json
application/json
application/json
Last updated on