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}
Request
- Base URLhttps://api.partoo.co/v2
- AuthAPI key in header x-APIKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Example response
{
"status": "success",
"api_id": "my_custom_role"
}Changes
No recorded changes to this operation across all 2 revisions of this API.