Skip to content
Primary navigation

Create group

$ openai admin:organization:groups create
POST/organization/groups

Creates a new group in the organization.

ParametersExpand Collapse
--name: string

Human readable name for the group.

ReturnsExpand Collapse
group: object { id, created_at, group_type, 2 more }

Details about an organization group.

id: string

Identifier for the group.

created_at: number

Unix timestamp (in seconds) when the group was created.

group_type: "group" or "tenant_group"

The type of the group.

"group"
"tenant_group"
is_scim_managed: boolean

Whether the group is managed through SCIM and controlled by your identity provider.

name: string

Display name of the group.

Create group

openai admin:organization:groups create \
  --admin-api-key 'My Admin API Key' \
  --name x
{
    "object": "group",
    "id": "group_01J1F8ABCDXYZ",
    "name": "Support Team",
    "created_at": 1711471533,
    "is_scim_managed": false
}
Returns Examples
{
    "object": "group",
    "id": "group_01J1F8ABCDXYZ",
    "name": "Support Team",
    "created_at": 1711471533,
    "is_scim_managed": false
}