Skip to main content
Version: Next

Delete webhook by id

Information

This API allow you to delete a webhook.

This endpoint is synchronous
The role admin is needed in order to use this endpoint
Endpoints

DELETE/v1/config/webhook/{webhookId}

Path parameters
webhookIdstring (uuid) - Required



Request

DELETE /v1/config/webhook/:webhookId


curl -X 'DELETE'
'https://api.ppd.iopole.fr//v1/config/webhook/f47ac10b-58cc-4372-a567-0e02b2c3d479'
-H 'accept: application/json'
-H 'Authorization: Bearer ${token}'

Response

Status: 200 - application/json

Description: Returns deleted webhook id.

Schema:

  • type: enum
    The type of the response object.
  • id: string
    The unique identifier for the created element.

Examples:

{
  "type": "WEBHOOK",
  "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479"
}

Status: 401

Description: Unauthorized - Authentication is required and has failed or has not yet been provided.

Status: 403

Description: Forbidden - The server understood the request, but it refuses to authorize it. Note: This endpoint requires an admin account.

Status: 404

Description: Error - No webhook found for given id