Roles

Delete project role

Changed on

Deletes a custom role from a project.

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

Request

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

Path parameters

project_idstring required

The ID of the project to update.

role_idstring required

The ID of the role to delete.

Response

Project role deleted successfully.

object'role.deleted' required

Always role.deleted.

idstring required

Identifier of the deleted role.

deletedboolean required

Whether the role was deleted.

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