v1

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

Get Tenant

Retrieve a tenant by its Id. If you're unsure of the tenant_id, use listTenant operation to list all tenants under a CoreStack account and fetch the needed tenant_id.

get/tenants/{tenant_id}

Path parameters

tenant_idstring required

Specify the tenant ID. This is a unique ID and can be retrieved using the List Tenants API.

Response

Success

tenant_idstring required

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

namestring required

Unique name of the tenant provided as input while creating.

descriptionstring required

Description of the tenant.

account_idstring required

Id of the CoreStack account under which this tenant resides.

is_defaultboolean required

Is the master tenant

azure_hybrid_benefits_enabledboolean

azure hybrid benefits enabled under finOps

status'active' | 'suspended' required

Indicates the status of the Tenant

created_atstring required

Created DateTime in UTC of the tenant.

metadataobject required

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

created_bystring required

Name of the user created this tenant.

updated_bystring required

Name of the user last updated this tenant.

updated_atstring required

DateTime in UTC when the tenant was last updated.

account_namestring required

Name of the CoreStack account under which this tenant resides.

Example response

{
  "cost_anomaly_settings": {
    "threshold_configuration": {
      "category": "all",
      "cost_impact_spend_operator": "and"
    }
  },
  "dimension_settings": [
    {
      "product": "AppSecOps"
    }
  ],
  "status": "active"
}