Last updated 4 months ago
The ID for the workspace.
The ID for the organization.
The ID for the webhook subscription.
^https://([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}(/[^\s]*)?$
updated
^https://[^\s/$.?#].[^\s]*$
const response = await fetch('/organizations/{organizationId}/workspaces/{workspaceId}/webhook-subscriptions/{webhookSubscriptionId}', { method: 'PATCH', headers: { "Authorization": "Bearer jwt", "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
{ "id": "123e4567-e89b-12d3-a456-426614174000", "organizationId": "123e4567-e89b-12d3-a456-426614174000", "workspaceId": "123e4567-e89b-12d3-a456-426614174000", "service": "text", "event": "text", "eventFilters": [ { "key": "text", "value": "text" } ], "template": "text", "url": "text", "signingKey": "text", "status": "active", "createdAt": "2024-10-29T08:52:50.583Z", "updatedAt": "2024-10-29T08:52:50.583Z" }