Delete Webhook

Delete a company webhook

DELETEhttps://api.pact.im/api/p2/companies/<COMPANY_ID>/webhooks/<WEBHOOK_ID>

Deletes a webhook of the company.

URL Parameters

ParameterDescription
COMPANY_IDID of the company
WEBHOOK_IDID of the webhook

Query Parameters

ParameterRequiredValidationsDescription
private_api_tokentrueMust be a stringYOUR_API_TOKEN

Example

Request

shell
curl -X DELETE 'https://api.pact.im/api/p2/companies/COMPANY_ID/webhooks/WEBHOOK_ID' \
--header 'Content-Type: application/json' \
--data '{
    "private_api_token": YOUR_API_TOKEN
  }'

Response

HTTP status 204 No Content with an empty body.

Search…

Start typing to search