User organization role assignments

Unassign organization role from user

Changed on

Unassigns an organization role from a user within the organization.

delete/organization/users/{user_id}/roles/{role_id}

Request

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

Path parameters

user_idstring required

The ID of the user to modify.

role_idstring required

The ID of the organization role to remove from the user.

Response

Organization role unassigned from the user successfully.

objectstring required

Identifier for the deleted assignment, such as group.role.deleted or user.role.deleted.

deletedboolean required

Whether the assignment was removed.

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