cURL
curl --request PATCH \ --url https://api.sandbox.getasset.com/v0/webhook \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "url": "<string>", "headers": [ {} ], "enabled": true }'
{ "data": { "tenant_id": "<string>", "url": "<string>", "headers": [ {} ], "enabled": true } }
The access token received from the authorization server in the OAuth 2.0 flow.
The webhook url where to POST messages
Optional headers to be passed when calling the webhook
Enable or disable webhook notifications
Successful Response
Show child attributes