Create a new tenant with default credential

Creates a new tenant with the specified configuration and default credential in a single operation.
The provided credentials will become the tenant's default credential used for API authentication.
Note: For Azure providers, the TenantId field in credentials is automatically populated from the ProviderTenantId.

Body Params

The tenant creation request including credential data.

Request model for creating a new cloud tenant with its default credential.
The default credential is created as a separate entity linked to the tenant.

string
enum
required
Allowed:
string
required
length between 1 and 256

Provider's tenant identifier.
Azure: Tenant ID (Directory ID), AWS: Organization ID, GCP: Organization ID.

string
required
length between 1 and 128

User-friendly name for the tenant.

defaultCredential
object
required

Request model for creating a new cloud credential.

Responses

500

Internal server error.

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json