Project user role assignments

Unassign project role from user

Changed on

Unassigns a project role from a user within a project.

delete/projects/{project_id}/users/{user_id}/roles/{role_id}

Request

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

Path parameters

project_idstring required

The ID of the project to modify.

user_idstring required

The ID of the user whose project role assignment should be removed.

role_idstring required

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

Response

Project 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