v1

latestSwagger 2.02026-08-061,9128853.7 MB
Tenants

Creates a new Tenant.

Creates a new Tenant, optionally cloning an existing tenant if the clone query string parameter is provided.

post/tenants

Request body

Clonestring
Descriptionstring
IsDisabledboolean
Namestring required
ProjectEnvironmentsobject

The projects the tenant is connected to, as an object keyed by project ID where each value is the array of environment IDs the tenant can deploy to for that project. Example: {"Projects-1": ["Environments-1", "Environments-2"]}.

Slugstring

A URL-friendly, unique identifier for the tenant. Generated from the name when omitted, which is usually what you want.

SpaceIdstring required
TenantTagsstring[]

Tags to apply to the tenant, as canonical tag names in the form 'TagSetName/TagName'. Example: ["Regions/EU-West", "Tier/Premium"]. Only tags from tenant-scoped tag sets are valid.

Response

Created

ClonedFromTenantIdstring
CustomFieldsstring[]
Descriptionstring
Idstring
IsDisabledboolean
LastModifiedBystring
LastModifiedOnstring date-time
Linksobject
Namestring
ProjectEnvironmentsobject
Slugstring
SpaceIdstring
TenantTagsstring[]