Create a status

Request

POST https://{hostname}:{port}
    /cli/status/createStatus?{parameters}
Accept: {contentType}
Table 1. Request parameters
Parameter Type Required Description
type string true Type of status (inventory, version, or snapshot)
status string true Name of the new status
color string false Color of the new status (HTML color strings or valid color names) (Optional)
description string false Description of the new status (Optional)
unique string false Specify true to make this status unique (Optional)
Table 2. Header parameters
Parameter Type Required Description
Accept
  • application/json
  • application/yaml
true

Example response

{
  "id": "abff7bb6-bf95-417e-bf00-b0a8678e832a",
  "type": "VERSION",
  "name": "Documented",
  "active": true,
  "color": "#0077FF",
  "unique": false
}

Related CLI command: createStatus.