curl --request DELETE \
--url https://api.partoo.co/v2/custom_role/{custom_role_api_id} \
--header 'x-APIKey: <api-key>'{
"status": "success",
"api_id": "my_custom_role"
}This endpoint enables you to delete custom roles for organizations within your scope.
curl --request DELETE \
--url https://api.partoo.co/v2/custom_role/{custom_role_api_id} \
--header 'x-APIKey: <api-key>'{
"status": "success",
"api_id": "my_custom_role"
}The authentication system on Partoo API is using API Key that should be put in the header of the request (the name of the header is x-APIKey). An api_key is linked to a user. This user's role will give you different access level to the API features.
API identifier of the custom role (api_id)
Was this page helpful?