cURL
curl --request PATCH \ --url https://api.mudstack.com/workspaces/assetStatuses/{status_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'x-account-id: <x-account-id>' \ --header 'x-workspace-id: <x-workspace-id>' \ --data '{ "id": "<string>", "workspace_id": "<string>", "name": "<string>", "color": "<string>", "rank": "<string>", "created_by_user_id": "<string>" }'
{ "id": "<string>", "workspace_id": "<string>", "name": "<string>", "color": "<string>", "rank": "<string>", "created_by_user_id": "<string>" }
Update a specific asset status by its ID.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The updated asset status
The response is of type object.
object
Was this page helpful?