Roles

Delete organization role

Changed on

Deletes a custom role from the organization.

delete/organization/roles/{role_id}

Request

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

Path parameters

role_idstring required

The ID of the role to delete.

Response

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