Skip to main content
PUT
/
api
/
public
/
subscription-management
/
user-subscriptions
cURL
curl --request PUT \
  --url http://localhost/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.

Example:

"user@email.com"

identifierKey
string
required

Identifier key for channel.

Example:

"email"

changes
object
required

Subscription changes.

Response

An empty String

An empty String