Create a subscription (Deprecated)

DEPRECATED: Use POST /api/v1/cloud/tenants to create a tenant with credentials, then link subscriptions.
Creates a new cloud subscription with the provided configuration.

Body Params

The subscription data to create.

Request model for creating a new subscription.

string
required
length between 3 and 64

User-friendly name for the subscription.

string
enum
required
Allowed:
string
required
length ≥ 1

Cloud Provider assigned unique identifier for the top-level resource boundary.
Azure: SubscriptionId, AWS: AccountId, GCP: ProjectId.

string
enum
required
Allowed:
credentials
object
required

Credentials used to authenticate with the cloud provider.
Provide all required fields for the selected authentication type.
Sensitive fields will be encrypted and stored securely.

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