Skip to main content
Update an existing group’s details. You can modify the group’s name, title, and metadata.

Path Parameters

id
string
required
The unique identifier of the group to update.

Query Parameters

org_id
string
required
The organization ID that the group belongs to. Required for authorization.

Body Parameters

name
string
New URL-friendly identifier for the group. Must be unique within the organization.If you change the name, any existing references using the old name will need to be updated.
title
string
New display name for the group.
metadata
object
Updated metadata for the group. This completely replaces the existing metadata.To remove metadata, pass an empty object {}.

Response

group
object
The updated group object.
curl -X PUT 'https://frontier.example.com/v1beta1/groups/grp_123456789?org_id=org_123' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "title": "Senior Engineering Team",
    "metadata": {
      "department": "engineering",
      "location": "us-west",
      "team_lead": "Alice Smith"
    }
  }'
{
  "group": {
    "id": "grp_123456789",
    "name": "engineering-team",
    "title": "Senior Engineering Team",
    "org_id": "org_123",
    "metadata": {
      "department": "engineering",
      "location": "us-west",
      "team_lead": "Alice Smith"
    },
    "created_at": "2023-01-15T10:30:00Z",
    "updated_at": "2023-06-25T14:20:00Z",
    "members_count": 12
  }
}

Build docs developers (and LLMs) love