PUT /api/architectures/501905019-x86_64
{
  "architecture": {
    "name": "newx86_64"
  }
}
200
{
  "created_at": "2019-11-07 09:10:05 UTC",
  "updated_at": "2019-11-07 09:10:07 UTC",
  "name": "newx86_64",
  "id": 501905019,
  "operatingsystems": [
    {
      "id": 309172073,
      "name": "centos",
      "title": "centos 5.3"
    },
    {
      "id": 750842046,
      "name": "OpenSuse",
      "title": "OpenSuSE 12.3"
    },
    {
      "id": 1073012828,
      "name": "Redhat",
      "title": "RHEL 6.1"
    },
    {
      "id": 331303656,
      "name": "Ubuntu",
      "title": "Ubuntu 10.10"
    },
    {
      "id": 272342666,
      "name": "Ubuntu",
      "title": "Ubuntu 12.10"
    }
  ],
  "images": [
    {
      "id": 980190962,
      "name": "centos-1"
    },
    {
      "id": 298486374,
      "name": "centos-2"
    }
  ]
}

パラメーター

パラメーター名 記述
location_id
任意

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
任意

Set the current organization context for the request

Validations:

  • Must be a Integer

id
必須

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

architecture
必須

Validations:

  • Must be a Hash

architecture[name]
任意

Validations:

  • Must be a String

architecture[operatingsystem_ids]
任意 , nil可

オペレーティングシステム ID

Validations:

  • Must be an array of any type