Project group role assignments

Assign project role to group

Changed on

Assigns a project role to a group within a project.

post/projects/{project_id}/groups/{group_id}/roles

Request

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

Path parameters

project_idstring required

The ID of the project to update.

group_idstring required

The ID of the group that should receive the project role.

Request body

role_idstring required

Identifier of the role to assign.

Response

Project role assigned to the group successfully.

object'group.role' required

Always group.role.

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 non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status