Update a task status

PUT /api/v1/task-status/{taskStatus_uuid}

You cannot update a completed statuses details except it's position

application/json

Body

  • name string

    Name of the task status

  • colour string

    Colour of the task status

  • position integer

    Position of the task status

Responses

  • 201 application/json
    Hide response attributes Show response attributes object
PUT /api/v1/task-status/{taskStatus_uuid}
curl \
 -X PUT https://api.plannrcrm.com/api/v1/task-status/taskStatus_uuid \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json" \
 -H "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
 -d '{"name":"Incomplete","colour":"#ff0000","position":1}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}

# Payload
{
  "name": "Incomplete",
  "colour": "#ff0000",
  "position": 1
}
Response examples (201)
{
  "name": "Incomplete",
  "uuid": "e927c3e5-a094-4d73-b3f7-4f304dda8dc7",
  "colour": "#398898",
  "position": 1,
  "created_at": "2024-10-16T11:10:15+01:00",
  "updated_at": "2024-10-16T11:10:15+01:00",
  "is_archived": false,
  "is_not_started": false,
  "is_type_completed": false
}