Update a tag

PUT /api/v1/tag/{uuid}

Path parameters

application/json

Body Required

  • name string Required

    Update tag description

  • colour string Required

    Update tag colour

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • uuid string

      UUID of the tag

    • The timestamp of when the resource was created.

    • The timestamp of when the resource was updated.

    • name string

      The name of the tag

    • slug string

      The slug of the tag

    • colour string

      The colour of the tag

PUT /api/v1/tag/{uuid}
curl \
 -X PUT https://api.plannrcrm.com/api/v1/tag/uuid \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json" \
 -d '{"name":"Urgent","colour":"#ef4582"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json

# Payload
{
  "name": "Urgent",
  "colour": "#ef4582"
}
Response examples (200)
{
  "name": "Mortgage",
  "slug": "mortgage",
  "uuid": "ef2f2151-6708-42c9-9bf6-0de63d26a9d6",
  "colour": "#ef4582",
  "created_at": "2024-11-20T13:24:02+00:00",
  "updated_at": "2024-11-20T13:24:02+00:00"
}