POST
/
workspaces
/
assetStatuses
curl --request POST \
  --url https://api.mudstack.com/workspaces/assetStatuses \
  --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>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-account-id
string
required
x-workspace-id
string
required

Body

application/json

Response

200 - application/json
The created asset status

The response is of type object.