eventTypes array replaces the full stored set — events not present in the request are unsubscribed. To stop receiving events entirely, use DELETE /subscriptions rather than sending an empty list.curl --location --request PUT '/webhooks/subscriptions?subscriptionId=undefined' \
--header 'x-api-version;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"url": "http://example.com",
"eventTypes": [
"corporate.status.activated"
],
"authKey": "string",
"isEnabled": true,
"maxRetries": 3,
"retryDelayMinutes": 5
}'{
"message": "string",
"data": {
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z",
"id": "string",
"url": "string",
"eventTypes": [
"string"
],
"authKey": "string",
"isEnabled": true,
"maxRetries": 0,
"retryDelayMinutes": 0
}
}