Remove a webhook endpoint
Stops new deliveries and excludes the endpoint from List webhook endpoints. A delivery already in progress may still reach the endpoint. Removing an endpoint that is already absent returns 204.
OAuth scopes
- webhooks:write
Path Parameters
- Type: stringwebhook
Endpoint Id min length:1max length:200requiredPayrollKit webhook endpoint ID.
Headers
- Type: stringIdempotency
- Key min length:16max length:200requiredIdentifies one write for safe retries. Reuse it only for the same method, URL, content type and body and, when present, the same
If-Matchvalue and acting-user headers. PayrollKit retains the result for 30 days, then treats a request using the same key as new. - Type: stringFormat: uuidX
- Request - Id Client-generated UUID for tracing. This does not make retries safe.
Responses
- application/problem+json
- application/problem+json
- application/problem+json
- application/problem+json
- application/problem+json
delete/webhook-endpoints/{webhookEndpointId}
No Body