PUT
/v1/admin/statuses/{id}
Update Status
curl -X PUT https://api.{cluster}.{platform}.voiger.io/v1/admin/statuses/{id} \ -H "Cookie: sid=$VOIGER_SESSION" \ -H "x-workspace-code: your-workspace-code" \ -H "x-csrf-token: $CSRF_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "status": { "name": "Good", "color": "#00FF00", "icon": "🫡", "enabled": false, "behaviour": "break", "duration": 900, "comment": "optional", "auto_reset": true } }'
Parameters
x-workspace-code
string
required
in header
x-csrf-token
string
required
in header
id
string
required
in path
Response
status▾idnameiconcolorbehaviourdurationcommentauto_resetusedmutableenabledcreated_atupdated_at