User organization role assignments

Assign organization role to user

Changed on

Assigns an organization role to a user within the organization.

post/organization/users/{user_id}/roles

Request

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

Path parameters

user_idstring required

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

Request body

role_idstring required

Identifier of the role to assign.

Response

Organization role assigned to the user successfully.

object'user.role' required

Always user.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