Skip to main content

Endpoint

PUT /backend/status/{id}

Path Parameters

id
string
required
Status ID

Body Parameters

name
string
Status name
color
string
Color in hexadecimal
order
integer
Display order

Request Example

curl -X PUT "https://api.leavo.ai/backend/status/status-uuid" \
  -H "Authorization: Bearer your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "In Review",
    "color": "#8B5CF6"
  }'

Response

{
  "success": true,
  "data": {
    "id": "status-uuid",
    "name": "In Review",
    "color": "#8B5CF6",
    "order": 2,
    "updated_at": "2024-01-15T14:00:00Z"
  }
}