Remove a specific webhook attribute (for example, a custom header or legacy field mapping) by its type and name.
Remove a specific webhook attribute (for example, a custom header or legacy field mapping) by its type and name. Use this endpoint to clean up attributes that are no longer needed on a webhook.
bearer Standard HTTP Bearer authentication using JWT. Provide your API key in the Authorization header as 'Bearer '.
In: header
The webhookId parameter
The attributeType parameter
The attributeName parameter
curl -X DELETE "https://api-sandbox.fndev.net/api/v1/webhooks/string/string/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": null,
"modelProperties": null,
"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": 400,
"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