Remove a webhook
Remove a webhook in the authenticated project environment.
DELETE
/v1/webhooks/{endpointId}On this page
Requirements
A secret API key with webhooks:write. Resources are restricted to the key's project and environment.
Path parameters
| Name | Type | Required / default | Description |
|---|---|---|---|
| endpointId | string | Required | ID returned when creating the webhook. |
Query parameters
| Name | Type | Required / default | Description |
|---|---|---|---|
| projectId | string | Key project | Must match the key's project. |
| environmentId | string | Key environment | Must match the key's environment. |
Example
Set RELAYRTC_API_URL to your API base including /v1, such as http://localhost:8080/v1.
curl -X DELETE "$RELAYRTC_API_URL/webhooks/webhook_example" \
-H "Authorization: Bearer $RELAYRTC_SECRET_KEY"Response
204 with no response body.
Notes
Errors
Invalid fields return 400. Invalid credentials return 401; a missing scope returns 403. A missing resource returns 404. See error responses.