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": "b3a8555d-01cc-44a4-944d-74a6adf2d064",
  "colour": "#ef4582",
  "created_at": "2024-10-16T11:10:15+01:00",
  "updated_at": "2024-10-16T11:10:15+01:00"
}