v1

latestOpenAPI 3.0.0CoreStack Inc License2026-07-248001,5071.7 MB
Identity

Create Tenant

Creates a new tenant under a CoreStack account. There can be multiple tenants within a CoreStack account.

post/tenants

Request body

namestring required

Name of the new tenant to be created. Tenant Name must be globally unique within CoreStack. If the same tenant name is used in another account, creation wil fail. Tenant Name must start with alphabet and can contain 2-50 characters. Special characters ' " # ? / \ are not allowed.

descriptionstring

Description of the new tenant to be created.

metadataobject

metadata is a freeform JSON. It allows to store custom keys and values. It will be useful for storing information about an external applications that will refer to CoreStack tenant.

account_idstring required

Id of the CoreStack account under which the new tenant to be created.

Response

Created

tenant_idstring required

Id of the newly created tenant. This will be used for performing tenant level operations such as createPolicy, createScript, onboardCloudAccount and so on.