cURL
curl --request PUT \ --url https://api.mudstack.com/workspaces/libraries/{library_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --header 'x-account-id: <x-account-id>' \ --header 'x-workspace-id: <x-workspace-id>' \ --form 'name=<string>' \ --form 'description=<string>' \ --form file=@example-file
{ "id": "<string>", "workspace_id": "<string>", "name": "<string>", "description": "<string>", "thumbnail_file_id": "<string>", "defaultAvatar": 123, "created_by_user_id": "<string>", "sequence": 123 }
Update a library by its ID.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The updated library
The response is of type object.
object
Was this page helpful?