Skip to main content
PUT
/
api
/
public
/
subscription-management
/
user-subscriptions
cURL
curl --request PUT \
  --url http://localhost:3001/api/public/subscription-management/user-subscriptions \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "workspaceId": "<string>",
  "hash": "<string>",
  "identifier": "<string>",
  "identifierKey": "<string>",
  "changes": {}
}
'
"<string>"

Authorizations

Authorization
string
header
required

Body

application/json
workspaceId
string
required

Workspace Id.

hash
string
required

Subscription change hash, used to authenticate subscription changes.

identifier
string
required

Identifier value for channel.

identifierKey
string
required

Identifier key for channel.

changes
object
required

Subscription changes.

Response

An empty String

An empty String