Examples

POST /api/architectures
{
  "architecture": {
    "name": "i386"
  }
}
201
{
  "created_at": "2022-03-29 09:01:31 UTC",
  "updated_at": "2022-03-29 09:01:31 UTC",
  "name": "i386",
  "id": 922134527,
  "operatingsystems": [],
  "images": []
}

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

architecture
required

Validations:

  • Must be a Hash

architecture[name]
required

Validations:

  • Must be a String

architecture[operatingsystem_ids]
optional , nil allowed

Operating system IDs

Validations:

  • Must be an array of any type