v1

latestOpenAPI 3.0.12026-07-244011,5573.5 MB
User Subscriptions

Update a user subscription

Updates the specified notification subscription for the given user. Returns 400 invalid_subscription_id if the subscription does not exist.

put/v6/users/{user_id}/subscriptions/{subscription_id}

Path parameters

user_idstring required

The unique identifier of this user at Extole.

subscription_idstring required

Request body

dedupe_duration_msinteger
filtering_level'ALL' | 'NONE' | 'NOTEWORTHY' | 'SOME'
having_all_tagsstring[]

Example request

{
  "filter_expression": "handlebars@runtime:{{filterExpression}}"
}

Response

Updated user subscription.

dedupe_duration_msinteger required
filtering_level'ALL' | 'NONE' | 'NOTEWORTHY' | 'SOME' required
having_all_tagsstring[] required
subscription_idstring required

Example response

{
  "filter_expression": "handlebars@runtime:{{filterExpression}}"
}