Skip to content
ClickHouse Docs
ClickHouse DocsClickHouse Docs

Delete a role

DELETE/v1/organizations/{organizationId}/roles/{roleId}
API playground

Deletes an existing custom role. System roles cannot be deleted. This operation will remove the role and all its associated policies.

Permission

The API key must have the control-plane:organization:manage permission.

Authorizations

Path parameters

  • organizationIdstringrequired

    ID of the requested organization.

    format: uuid
  • roleIdstringrequired

    ID of the requested role.

    format: uuid

Response

JSON

200

Successful response

JSON
  • statusoptionalnumber

    HTTP status code.

    Example: 200
  • requestIdoptionalstring

    Unique id assigned to every request. UUIDv4

    format: uuid
Navigation