cURL
curl --request POST \ --url https://api.mudstack.com/workspaces/assets/{asset_id}/favorites \ --header 'Authorization: Bearer <token>' \ --header 'x-account-id: <x-account-id>' \ --header 'x-workspace-id: <x-workspace-id>'
{ "asset_id": "<string>", "user_id": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Returns the favorited asset
Represents a user's favorite asset.
Was this page helpful?