How to delete tenant via API?

I want to delete a tenant using the API at this link (Cumulocity - OpenAPI).
I have given my user all the permissions mentioned in the instructions(Enterprise tenant - Cumulocity IoT Guides), but I still can’t delete it. What could I be missing?

{
    "error": "security/Forbidden",
    "message": "Access is denied",
    "info": "https://www.cumulocity.com/guides/reference-guide"
}

I guess you are not using management tenant credentials but only Enterprise Tenant credentials. Management tenant is the tenant who is managing the whole instance. On public environments this is only accessible by OPS. Enterprise Tenant is a tenant to create and suspend subtenants only.

1 Like

Thanks, I will forward the situation to the superior provider.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.