v1

latestOpenAPI 3.1.0© Copyright Partoo2026-07-26163503484.0 KB
Custom Roles

Delete Custom Role

This endpoint enables you to delete custom roles for organizations within your scope.

delete/custom_role/{custom_role_api_id}

Path parameters

custom_role_api_idstring required

API identifier of the custom role (api_id)

Query parameters

org_idinteger

Organization ID. Only PROVIDER users can specify a different organization. If not provided, defaults to your own organization.

Response

OK

statusstring
api_idstring

API identifier of the deleted custom role

Example response

{
  "status": "success",
  "api_id": "my_custom_role"
}