curl --request PUT \
--url https://app.dynamicauth.com/api/v0/environments/{environmentId}/webhooks/{webhookId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "https://website-sample.com",
"isEnabled": true,
"events": [
"<string>"
]
}
'{
"environmentId": "95b11417-f18f-457f-8804-68e361f9164f",
"webhookId": "95b11417-f18f-457f-8804-68e361f9164f",
"url": "https://website-sample.com",
"events": [
"<string>"
],
"isEnabled": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"secret": "<string>",
"version": "<string>",
"enabledAt": "2023-11-07T05:31:56Z"
}curl --request PUT \
--url https://app.dynamicauth.com/api/v0/environments/{environmentId}/webhooks/{webhookId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "https://website-sample.com",
"isEnabled": true,
"events": [
"<string>"
]
}
'{
"environmentId": "95b11417-f18f-457f-8804-68e361f9164f",
"webhookId": "95b11417-f18f-457f-8804-68e361f9164f",
"url": "https://website-sample.com",
"events": [
"<string>"
],
"isEnabled": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"secret": "<string>",
"version": "<string>",
"enabledAt": "2023-11-07T05:31:56Z"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the environment
36"95b11417-f18f-457f-8804-68e361f9164f"
UUID of the webhook
36"95b11417-f18f-457f-8804-68e361f9164f"
Webhook for this project environment
36"95b11417-f18f-457f-8804-68e361f9164f"
36"95b11417-f18f-457f-8804-68e361f9164f"
"https://website-sample.com"
Was this page helpful?