PATCH
/
{version}
/
statuses
/
{status}
curl --request PATCH \
  --url https://api.perscom.io/{version}/statuses/{status} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "color": "<string>",
  "order": 123
}'
{
  "data": {
    "id": 123,
    "name": "<string>",
    "color": "<string>",
    "order": 123,
    "label": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

version
enum<string>
default:v2
required

The API version to use.

Available options:
v1,
v2
status
integer
required

Query Parameters

include
enum<string>
Available options:
submissions,
users

Body

application/json
name
string
required
color
string
required

Provided as a 6 digit hex code.

order
integer

Will be auto-calculated if nothing is provided.

Response

200
application/json
OK
data
object