PUT
/
v2
/
status
curl --request PUT \
  --url https://api.sonderplan.com/v2/status \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Confirmed",
  "description": "The confirmed status",
  "type_id": 1,
  "notification": true,
  "order": 3,
  "color_background": "#B0A7F1",
  "color_text": "#000000"
}'
{
  "success": {
    "id": 2384
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

id
string
required

The ID of the status you wish to update

Body

application/json

Status model

Response

200
application/json

Successful Operation

The response is of type object.