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

  • PayrollKit webhook endpoint ID.

Headers

  • Identifies one write for safe retries. Reuse it only for the same method, URL, content type and body and, when present, the same If-Match value and acting-user headers. PayrollKit retains the result for 30 days, then treats a request using the same key as new.

  • 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