cURL
curl --request POST \ --url https://api.mudstack.com/workspaces/libraries/{library_id}/favorites \ --header 'Authorization: Bearer <token>' \ --header 'x-account-id: <x-account-id>' \ --header 'x-workspace-id: <x-workspace-id>'
{ "library_id": "<string>", "user_id": "<string>" }
Adds the specified library to the user’s list of favorite libraries.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The favorited library object
The response is of type object.
object
Was this page helpful?