/buildings/:building_id/settings

Update the settings of a building.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

building_id is the id that /buildings returns, not the building_ref_id.

Request

PropertyTypeDescription
use_global_excluded_datesBooleanRequired. true to use the company excluded dates, false to use the building's own list.

Send the property inside data.attributes.

Response

A response object in JSON:API format (https://jsonapi.org/).

PropertyTypeDescription
idStringThe building ID.
attributes.use_global_excluded_datesBooleantrue if the building uses the company excluded dates, false if it uses its own list.
Path Params
integer
required

The numeric building id from GET /buildings.

Body Params
data
object
required
Responses

401

The vs-api-key header is missing or not valid.

404

The building or excluded date does not exist, or the key cannot access it.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json