Examples

POST /api/compute_profiles
{
  "compute_profile": {
    "name": "4-Xlarge"
  }
}
201
{
  "created_at": "2024-02-22 16:25:35 UTC",
  "updated_at": "2024-02-22 16:25:35 UTC",
  "id": 980190964,
  "name": "4-Xlarge",
  "compute_attributes": []
}

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Integer

compute_profile
required

Validations:

  • Hash

compute_profile[name]
required

Validations:

  • String