Examples

PUT /api/architectures/501905019-x86_64
{
  "architecture": {
    "name": "newx86_64"
  }
}
403
{
  "error": {
    "message": "Access denied",
    "details": "Missing one of the required permissions: edit_architectures"
  }
}

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

id
Required

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
Required

Validations:

  • Must be a Hash

architecture[name]
Optional

Validations:

  • Must be a String

architecture[operatingsystem_ids]
Optional , <span class="translation_missing" title="translation missing: gl.apipie.nil_allowed">Nil Allowed</span>

Operating system IDs

Validations:

  • Must be an array of any type