Update a tag
Headers
-
Content-Type string
-
Accept string
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"
}