Przykłady

PUT /api/compute_profiles/980190962-1-Small
{
  "compute_profile": {
    "name": ""
  }
}
422
{
  "error": {
    "id": 980190962,
    "errors": {
      "name": [
        "can't be blank"
      ]
    },
    "full_messages": [
      "Name can't be blank"
    ]
  }
}

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

id
wymagany

Validations:

  • Must be a String

compute_profile
wymagany

Validations:

  • Must be a Hash

compute_profile[name]
opcjonalny

Validations:

  • Must be a String