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
/public/v1/accounts/cloud-tenants
POST /public/v1/accounts/cloud-tenants HTTP/1.1
Host: api.platform.softwareone.com
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-10-24T21:17:39.355Z",
      "by": {
        "0": "[",
        "1": "C",
        "2": "i",
        "3": "r",
        "4": "c",
        "5": "u",
        "6": "l",
        "7": "a",
        "8": "r",
        "9": " ",
        "10": "R",
        "11": "e",
        "12": "f",
        "13": "e",
        "14": "r",
        "15": "e",
        "16": "n",
        "17": "c",
        "18": "e",
        "19": "]"
      }
    },
    "updated": {
      "at": "2025-10-24T21:17:39.355Z",
      "by": {
        "0": "[",
        "1": "C",
        "2": "i",
        "3": "r",
        "4": "c",
        "5": "u",
        "6": "l",
        "7": "a",
        "8": "r",
        "9": " ",
        "10": "R",
        "11": "e",
        "12": "f",
        "13": "e",
        "14": "r",
        "15": "e",
        "16": "n",
        "17": "c",
        "18": "e",
        "19": "]"
      }
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "account": {
    "id": "text",
    "icon": "text",
    "type": "text",
    "status": "text",
    "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?