Examples

POST /api/compute_profiles
{
  "compute_profile": {
    "name": "4-Xlarge"
  }
}
201
{
  "created_at": "2022-03-29 08:54:51 UTC",
  "updated_at": "2022-03-29 08:54:51 UTC",
  "id": 980190964,
  "name": "4-Xlarge",
  "compute_attributes": []
}

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

compute_profile
required

Validations:

  • Must be a Hash

compute_profile[name]
required

Validations:

  • Must be a String