# Create sub-account Create a new sub-account (tenant). If an account with given ID had existed before and was removed, then this action will reactivate that account. A user or vendor token is required for this route. A user token can be obtained after user authentication. Endpoint: POST /resources/sub-tenants/v1 Security: bearer ## Request fields (application/json): - `tenantId` (string, required) - `name` (string, required) - `parentTenantId` (string, required) - `status` (string) This field can be used for custom logic, it is not enforced in Frontegg flows - `logo` (string) Base64-encoded image to use as logo. - `logoUrl` (string) - `creatorName` (string) - `creatorEmail` (string) - `isReseller` (boolean) ## Response 400 fields