Examples

POST /api/compute_profiles
{
  "compute_profile": {
    "name": "4-Xlarge"
  }
}
201
{
  "created_at": "2018-11-15 19:01:57 UTC",
  "updated_at": "2018-11-15 19:01:57 UTC",
  "id": 980190963,
  "name": "4-Xlarge",
  "compute_attributes": []
}

Params

Param name Description
location_id
optional

Scope by locations

Validations:

  • Must be a Integer

organization_id
optional

Scope by organizations

Validations:

  • Must be a Integer

compute_profile
required

Validations:

  • Must be a Hash

compute_profile[name]
required

Validations:

  • Must be a String