API Reference
Log In
API Reference

Update a location group and replace its Company Attributes with the payload

Updates a Location Group and upserts its Company Attributes. The provided customAttributesPayload replaces the entire set of attributes attached to the location group: omit the field to leave existing attributes unchanged; provide an empty array ([]) to remove all attributes from the location group. Values must match the attribute data type configured for the company attribute.

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

UUID of the locationGroup to update

Body Params
locationGroupPayload
object
required

Fields to update on the location group. Uses the locationGroup schema; provide only the fields to change.

customAttributesPayload
array of objects
required

Replacement list of Company Attributes to attach to the location group. Attribute may be referenced by UUID or key and value must match the attribute's configured data type. Omit the field to leave the location group's existing attributes unchanged; provide an empty array ([]) to remove all attributes from the location group.

customAttributesPayload*
Responses
204

Updated Successfully

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