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 'Content-Type: application/json' \
  --data '{
  "workspaceId": "<string>",
  "hash": "<string>",
  "identifier": "user@email.com",
  "identifierKey": "email",
  "changes": {}
}'
"<string>"

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.

Examples:

"user@email.com"

identifierKey
string
required

Identifier key for channel.

Examples:

"email"

changes
object
required

Subscription changes.

Response

An empty String