academyFIVE API Beta icon

academyFIVE API Beta

Interact with academyFIVE API

Actions482

Buildings → Update building

AI-generated

Summary

Update an academyFIVE building by sending the supplied data and relationship values in the API request body.

Inputs

  • data (required) — Building data object. Provide required type and attributes; id is optional.
  • attributes (required) — Provide required name, active (defaults to false), and status. Optional fields are description, company, addressAddition, contactPerson, street, street2, postalCode, city, phone, fax, email, website, and usage.
  • relationships (required) — Provide the relationship values: countries and sites each take a required data object with type and id; approvedSites is optional and takes one or more data objects with type and id. approvedSites replaces the building’s full approved-site set.

Output shape

A list of items containing the API response as JSON.

Each output item is paired with its input item. If Continue On Fail is enabled, failed inputs produce an item with an error field.

Links

Discussion