Docs
DevelopersAPI reference

Update a group

PATCH/groups/{id}

Renames a group or changes its emoji.

Authorization

apiKey groups:write
AuthorizationBearer <token>

An organisation API key, sent as Authorization: Bearer enl_…. Create keys in Settings, API Keys.

In: header

Scope: groups:write

Path Parameters

id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/groups/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "name": "string",  "emoji": "string",  "member_count": 12,  "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}