cURL
curl --request POST \ --url https://api.mudstack.com/workspaces/assets/{asset_id}/lock \ --header 'Authorization: Bearer <token>' \ --header 'x-account-id: <x-account-id>' \ --header 'x-workspace-id: <x-workspace-id>'
Locks an asset by its ID.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Asset locked successfully
Was this page helpful?