Sample - OpenAI API
POST/organization/groups

Create an organization group

Creates a new group in the organization. Provide a human-readable name between 1 and 255 characters for the group.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

1 body field

The group details to create in the organization.

namestringrequired
Human readable name for the group.

2 status codes
200Returns the created organization group with its identifier, display name, creation timestamp, SCIM management status, and group type.
idstringrequired
Identifier for the group.
namestringrequired
Display name of the group.
created_atintegerrequired
Unix timestamp (in seconds) when the group was created.
is_scim_managedbooleanrequired
Whether the group is managed through SCIM and controlled by your identity provider.
group_typestringrequired
The type of the group.
Allowed:grouptenant_group
429Returned when the request was rejected because a rate limit was exceeded.
errorobjectrequired

Error handling

name is required and must contain between 1 and 255 characters. A 429 is returned when the request was rejected because a rate limit was exceeded.