cURL
curl --request PATCH \ --url https://api.xenia.team/api/v1/mgt/workspaces/{workspaceId}/webhook-subscriptions/{subscriptionId} \ --header 'Content-Type: application/json' \ --header 'x-client-key: <api-key>' \ --header 'x-client-secret: <api-key>' \ --data ' { "events": [ "task.status_changed", "submission.submitted", "user.activated" ], "isActive": true } '
{ "status": true, "code": 123, "data": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "url": "<string>", "events": [ "<string>" ], "isActive": true, "updatedAt": "2023-11-07T05:31:56Z" } }
Updates an existing webhook subscription. All fields are optional - only provided fields will be updated.
Workspace ID
Subscription ID
255
2048
1 - 50
2000
1 <= x <= 1000
Set to false to pause the subscription
Subscription updated successfully
Show child attributes