Create Cloud Tenant

post
Body
typeall ofOptional
string · enumOptionalPossible values:
namestring · min: 1 · max: 100Required
statusall ofOptional
string · enumOptionalPossible values:
externalIdsall ofRequired
accountall 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: 219

{
  "type": "text",
  "name": "text",
  "status": "text",
  "externalIds": {
    "pyraTenantId": "123e4567-e89b-12d3-a456-426614174000",
    "cloudConsumptionId": "123e4567-e89b-12d3-a456-426614174000",
    "providerId": "text"
  },
  "account": {
    "id": "text"
  }
}
{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-08-22T00:09:30.900Z",
      "by": "[Circular Reference]"
    },
    "updated": {
      "at": "2025-08-22T00:09:30.900Z",
      "by": "[Circular Reference]"
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "account": {
    "id": "text",
    "icon": "text",
    "type": "Client",
    "status": "Active",
    "name": "text"
  },
  "externalIds": {
    "cloudConsumptionId": "123e4567-e89b-12d3-a456-426614174000",
    "providerId": "text",
    "pyraTenantId": "123e4567-e89b-12d3-a456-426614174000"
  },
  "name": "text",
  "status": "text",
  "type": "text"
}

Last updated

Was this helpful?