Home / Resources / API Reference

Cloud Account

Base route: /api/cloud-account

Create cloud account

This API endpoint registers a new cloud provider account (e.g., Azure) in the workspace for infrastructure provisioning.

Request

Parameters
workspaceId
string
required
Workspace identifier.
cloudType
string
required
The type of cloud provider (e.g., "Azure").
azure
object
conditional
Credentials required if cloudType is Azure.
Request body

POST /api/cloud-account {   "workspaceId": "string",   "name": "string",   "cloudType": "string",   "azure": {     "subscriptionId": "string",     "tenantId": "string",     "applicationId": "string"   } }

Response

Parameters
accountId
string
The unique ID of the created cloud account.
Response body

{   "accountId": "string" }