Project groups

Add project group

Changed on

Grants a group access to a project.

post/organization/projects/{project_id}/groups

Request

  • Base URL
    https://api.openai.com/v1
  • URL
    https://api.openai.com/v1/organization/projects/{project_id}/groups
  • Auth
    HTTP bearer

Path parameters

project_idstring required

The ID of the project to update.

Request body

group_idstring required

Identifier of the group to add to the project.

rolestring required

Identifier of the project role to grant to the group.

Response

Group granted access to the project successfully.

object'project.group' required

Always project.group.

project_idstring required

Identifier of the project.

group_idstring required

Identifier of the group that has access to the project.

group_namestring required

Display name of the group.

group_type'group' | 'tenant_group' required

The type of the group.

created_atinteger required

Unix timestamp (in seconds) when the group was granted project access.

Changes

    • info

      added the optional property ////// to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status