Create Cloud Tenant

post
Body
all ofOptional
Responses
201

Created

application/json
post
POST /public/v1/accounts/cloud-tenants HTTP/1.1
Host: api.s1.today
Content-Type: application/json
Accept: */*
Content-Length: 226

{
  "type": "AwsDirect",
  "name": "text",
  "status": "Active",
  "externalIds": {
    "pyraTenantId": "123e4567-e89b-12d3-a456-426614174000",
    "cloudConsumptionId": "123e4567-e89b-12d3-a456-426614174000",
    "providerId": "text"
  },
  "account": {
    "id": "text"
  }
}
{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-09-12T22:41:22.197Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    },
    "updated": {
      "at": "2025-09-12T22:41:22.197Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "name": "text",
  "revision": 1,
  "account": {
    "id": "text",
    "name": "text",
    "icon": "text",
    "revision": 1,
    "type": "Client",
    "status": "Active"
  },
  "externalIds": {
    "cloudConsumptionId": "123e4567-e89b-12d3-a456-426614174000",
    "providerId": "text",
    "pyraTenantId": "123e4567-e89b-12d3-a456-426614174000"
  },
  "status": "text",
  "type": "text"
}

Last updated

Was this helpful?