For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Trust CenterStatusSupportGet a demoPlatform
DocumentationEvals API ReferenceIntegrations & OTELPlatform SettingsSelf-HostingGuidesChangelog
DocumentationEvals API ReferenceIntegrations & OTELPlatform SettingsSelf-HostingGuidesChangelog
  • Get Started
    • Introduction
    • Quickstart
    • Authentication
    • Data Models
    • API Conventions
  • Data Models
      • GETRetrieve Organization
      • PUTUpdate Organization
        • GETList Organization Roles
        • POSTCreate Organization Role
        • PUTUpdate Organization Role
        • DELDelete Organization Role
  • Evals
  • Legacy
LogoLogo
Trust CenterStatusSupportGet a demoPlatform
Data ModelsOrganizationRoles

Delete Organization Role

DELETE
https://api.confident-ai.com/v1/organization/roles/:roleId
DELETE
/v1/organization/roles/:roleId
$curl -X DELETE https://api.confident-ai.com/v1/organization/roles/roleId \
> -H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"
200Deleted
1{
2 "success": true,
3 "data": {
4 "id": "role-uuid-3",
5 "deleted": true
6 }
7}
Deletes a custom organization role. A role that is still assigned to one or more members cannot be deleted.
Was this page helpful?
Previous

List Organization Policies

Next
Built with

Path parameters

roleIdstringRequired
The unique identifier of the role.

Headers

CONFIDENT_API_KEYstringRequired
The organization API key for your Confident AI organization.

Response

successboolean
Indicates if the request was successful
dataobject