Update Subscription
Updates the existing subscription. The client application can extend or narrow the list of events for which it receives notifications within the current subscription. If event filters are specified, calling this method modifies them for the existing subscription. The method also allows one to set an expiration time for the subscription itself.
If parameters other than events and expiresIn are specified in the request they will be ignored. If the request body is empty then the specified subscription will be renewed without any event filter modifications and using the default expiration time.
If the request is sent with empty body, it just renews a subscription (so it is an equivalent of the POST /restapi/v1.0/subscription/{subscriptionId}/renew).
Please note that WebSocket subscriptions cannot be updated via HTTP interface.
Path parameters
Internal identifier of a subscription
Request body
Example request
{
"expiresIn": 1200
}Response
Successful response
Example response
{
"id": "95fecfc9-9cdc-4e94-a78a-89fd65889d37",
"deliveryMode": {
"address": "https://acme.com/myservice/webhook"
}
}