cURL
curl --request PATCH \ --url https://api.tryarchitect.com/v0/webhook_subscriptions/{subscription_id} \ --header 'Content-Type: application/json' \ --data '{ "url": "<string>", "events": [ "page.version.created" ], "active": true }'
{ "id": "<string>", "url": "<string>", "events": [ "page.version.created" ], "active": true, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }
Update a webhook subscription by ID
The webhook subscription ID
URL to open when action is triggered
Show child attributes
Successful operation
Unique subscription identifier
Whether the subscription is active
Was this page helpful?