cURL
curl --request PUT \ --url https://api.example.com/webhooks/unsubscribe \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'x-environment: <x-environment>' \ --data ' { "url": "<string>" } '
{ "url": "<string>", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
Configure which environment the request will handle. If the provided credentials do not allow access to this specified environment, a 403 Forbidden response is returned.
OK
Url of the webhook.
Id of the webhook.
Was this page helpful?