v1
latestOpenAPI 3.1.02026-07-141045121.7 KBSubscriptions
Edit a webhook subscription
🔑
Required OAuth scope: webhooks:write.
Edits specific fields of an existing webhook subscription. Fields not included in the request payload remain unchanged.
patch/api/v2/webhooks/subscriptions/{subscriptionId}
Path parameters
subscriptionIdstring ObjectId required
Example:507f1f77bcf86cd799439011
The unique ID of the webhook subscription.
Headers
360-api-version'v2.0' required
The version of the API.
Request body
Example request
{
"name": "HRIS system subscription",
"url": "https://example.com/webhook"
}Response
Returns the updated webhook subscription.
Example response
{
"name": "HRIS system subscription",
"url": "https://example.com/webhook",
"_id": "507f1f77bcf86cd799439011"
}