Examples

POST /api/compute_profiles
{
  "compute_profile": {
    "name": "4-Xlarge"
  }
}
201
{
  "created_at": "2021-09-01 14:00:13 UTC",
  "updated_at": "2021-09-01 14:00:13 UTC",
  "id": 980190963,
  "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