Group organization role assignments

List group organization role assignments

Changed on

Lists the organization roles assigned to a group within the organization.

get/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 whose organization role assignments you want to list.

Query parameters

limitinteger

A limit on the number of organization role assignments to return.

afterstring

Cursor for pagination. Provide the value from the previous response's next field to continue listing organization roles.

order'asc' | 'desc'

Sort order for the returned organization roles.

Response

Group organization role assignments listed successfully.

object'list' required

Always list.

has_moreboolean required

Whether additional assignments are available when paginating.

nextstring nullable required

Cursor to fetch the next page of results, or null when there are no more assignments.

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