โ Delete webhook
Code samples
DELETE /api/v1/webhooks/{webhook}
curl -X DELETE 'https://settla.net/api/v1/webhooks/1' \
-H 'X-API-Key: $SETTLA_API_KEY' \
-H 'Accept: application/json'
Deletes a webhook that belongs to the authenticated user. The addresses stop being watched on the next scanning cycle.
๐ ๏ธ Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| webhook | path | integer | true | Webhook ID |
Example responses
200 Response
{
"success": true
}
๐ Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Deleted. Note that this is 200 with a body, not 204. | Inline |
| 401 | 401 | Missing or invalid API key | None |
| 404 | Not Found | Webhook not found, or it belongs to another user | None |
๐ Response Schema
Status Code 200
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| ยป success | boolean | false | none | none |