curl --request PUT \
--url https://app.dynamicauth.com/api/v0/environments/{environmentId}/webhooks/{webhookId} \
--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",
"secret": "<string>",
"version": "<string>",
"events": [
"<string>"
],
"isEnabled": true,
"enabledAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
curl --request PUT \
--url https://app.dynamicauth.com/api/v0/environments/{environmentId}/webhooks/{webhookId} \
--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",
"secret": "<string>",
"version": "<string>",
"events": [
"<string>"
],
"isEnabled": true,
"enabledAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
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
The response is of type object
.
Was this page helpful?