Headers
-
Content-Type string
-
Accept string
-
X-PLANNR-ACCOUNT-UUID string
PUT
/api/v1/group/{uuid}
curl \
--request PUT https://api.plannrcrm.com/api/v1/group/uuid \
--header "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
--data '{"name":"Accounting"}'
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": "Accounting"
}
Response examples (200)
{
"name": "finance",
"slug": "finance",
"uuid": "c69a3c31-2f1f-4d87-a966-c36feee58f81",
"created_at": "2025-02-20T10:13:02+00:00",
"updated_at": "2025-02-20T10:13:02+00:00",
"participants": {
"name": {
"example": "Gareth Thompson",
"description": "Name of the account"
},
"role": {
"example": "client",
"description": "Role of the account"
},
"uuid": {
"example": "147c1d31-d05c-45ec-abd9-adb6b4b54ef2",
"description": "UUID of the account"
},
"email": {
"example": "gareth@codepotato.co.uk",
"description": "Email of the account"
},
"last_name": {
"example": "Thompson",
"description": "Last name of the account"
},
"first_name": {
"example": "Gareth",
"description": "First name of the account"
}
},
"participants_count": "3"
}