Skip to main content
PATCH
/
accounts
/
{account_id}
/
company-statuses
/
{status_id}
Update a company status
curl --request PATCH \
  --url https://www.useroulette.com/api/v1/accounts/{account_id}/company-statuses/{status_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "color": "<string>",
  "rank": 123,
  "description": "<string>",
  "is_default": true
}'
{
  "success": true,
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "status_text": "Initial Review",
    "color": "#3B82F6",
    "rank": 123
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

account_id
string<uuid>
required
status_id
string<uuid>
required

Body

application/json
name
string
Maximum length: 100
color
string
rank
integer
description
string
is_default
boolean

Response

success
boolean
data
object