cURL
curl --request PUT \ --url https://api.mudstack.com/workspaces/assets/{asset_id}/subscriptions \ --header 'Authorization: Bearer <token>' \ --header 'x-account-id: <x-account-id>' \ --header 'x-workspace-id: <x-workspace-id>'
[ { "asset_id": "<string>", "user_id": "<string>", "subscribed": true } ]
Update the subscription status for a specific asset.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the asset
Subscription status
Updated subscription status
The unique identifier of the asset.
The unique identifier of the user.
Indicates whether the user is subscribed to the asset.
Was this page helpful?