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.
Documentation IndexFetch the complete documentation index at: https://docs.mudstack.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.mudstack.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Asset locked successfully
Was this page helpful?