# Sub-accounts and hierarchy

 - [POST /resources/hierarchy/v1](https://developers.frontegg.com/ciam/api/tenants/sub-accounts-and-hierarchy/tenanthierarchycontrollerv1_createsubtenants.md): Assign an existing account (tenant) to the hierarchy as a sub-account of a given parent account. A vendor token is required for this route, it can be obtained from the vendor authentication route.
 - [DELETE /resources/hierarchy/v1](https://developers.frontegg.com/ciam/api/tenants/sub-accounts-and-hierarchy/tenanthierarchycontrollerv1_deletesubtenant.md): Delete given sub-account from the hierarchy. A vendor token is required for this route, it can be obtained from the vendor authentication route.
