Locations

Partially update a layer

Update specific fields of a geographic layer without affecting other configuration. Commonly used for updating metadata or modifying the location collection.

Common Use Cases:

  • Add or remove locations from collection
  • Update layer title or description
  • Modify sharing permissions
  • Change layer type classification
patch/layers/{id}

Request body

idinteger
titlestring nullable

Descriptive title for the layer (e.g., 'Emergency Response Zones', 'Service Areas', 'County Boundaries')

descriptionstring nullable

Detailed description of the layer's purpose, contents, and intended use

locationsobject

Array of location IDs included in this layer collection

available_toobject

JSON object specifying which organizations or users have access to this layer

typeinteger nullable

Optional location type for categorizing this layer (references location type)

shared'shared' | 'public' | 'private' | 'hidden' nullable

Basic sharing level: 'public' (all users), 'shared' (organization + affiliates), 'private' (organization only)

Response

OK

idinteger
titlestring nullable

Descriptive title for the layer (e.g., 'Emergency Response Zones', 'Service Areas', 'County Boundaries')

descriptionstring nullable

Detailed description of the layer's purpose, contents, and intended use

locationsobject

Array of location IDs included in this layer collection

available_toobject

JSON object specifying which organizations or users have access to this layer

typeinteger nullable

Optional location type for categorizing this layer (references location type)

shared'shared' | 'public' | 'private' | 'hidden' nullable

Basic sharing level: 'public' (all users), 'shared' (organization + affiliates), 'private' (organization only)

Changes

No recorded changes to this endpoint across all 1 revision of this API.