Examples

POST /api/architectures
{
  "architecture": {
    "name": "i386"
  }
}
201
{
  "created_at": "2024-02-22 15:41:38 UTC",
  "updated_at": "2024-02-22 15:41:38 UTC",
  "name": "i386",
  "id": 922134524,
  "operatingsystems": [],
  "images": []
}

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Integer

architecture
required

Validations:

  • Hash

architecture[name]
required

Validations:

  • String

architecture[operatingsystem_ids]
optional , nil allowed

Operating system IDs

Validations:

  • Must be an array of any type