Skip to main content
POST
Create a group in your current organization
Required API key scope: membership:write

Authorizations

Authorization
string
header
required

Runpod API key authentication. Generate an API key in the Runpod console and send it in the Authorization header as Bearer <api_key>. Keys are scoped to the permissions granted when created; requests may return 403 when a valid key lacks access to the requested resource or action.

Console sessions (Clerk JWTs) act for the signed-in user. To act for a team instead, also send X-Team-Id: <team_id>; it applies only when the user owns or belongs to that team, otherwise the request runs against the user's own account. API keys created inside a team already act for that team and do not need the header.

Body

application/json
name
string
required

Group name with at least one non-whitespace character; surrounding whitespace is trimmed.

Required string length: 1 - 191
Pattern: [^\t-\r …   - 

   ]
Example:

"Engineering"

Response

Created

A group in the authenticated caller's organization.

id
string
required

Group ID.

name
string
required

Group name.

memberCount
integer
required

Number of group memberships.

Required range: x >= 0
createdAt
string<date-time>
required
updatedAt
string<date-time>
required

Group update time; membership changes need not update it.

Last modified on November 18, 2026