Group organization role assignments

Assign organization role to group

Changed on

Assigns an organization role to a group within the organization.

post/organization/groups/{group_id}/roles

Request

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

Path parameters

group_idstring required

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

Request body

role_idstring required

Identifier of the role to assign.

Response

Organization 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