# Update a unit access group Update an existing unit access group within the Property Management System (PMS). This endpoint allows the modification of details for a specific unit access group, including its associated unit and access group information. The request body must include the updated details of the unit access group. The response includes the updated unit access group details. If the specified unit access group ID does not exist, a error will be returned. In case of validation errors, a error will be returned. In case of an unexpected system error, a will be triggered. Endpoint: PUT /api/v3/unitAccessGroups Version: 3.0.4 Security: OAuth2 ## Query parameters: - `currentUser` (object, required) ## Request fields (application/json): - `id` (integer) Unique identifier of the Unit Access Group - `unit` (object, required) Summary of the Unit associated with the Unit Access Group - `unit.id` (integer) Unique identifier of the unit Example: 1 - `unit.name` (string) Name of the unit Example: "Apartment 101" - `accessGroup` (object, required) Access Group DTO - `accessGroup.id` (integer) Id of Access Group - `accessGroup.name` (string, required) Name of Access Group - `accessGroup.building` (object, required) Building associated with the unit type - `accessGroup.building.id` (integer) Unique identifier of the building - `accessGroup.building.name` (string) Name of the building - `accessGroup.externalIdentifier` (string, required) External Identifier of Access Group ## Response 200 fields (application/json): - `id` (integer) Unique identifier of the Unit Access Group - `unit` (object, required) Summary of the Unit associated with the Unit Access Group - `unit.id` (integer) Unique identifier of the unit Example: 1 - `unit.name` (string) Name of the unit Example: "Apartment 101" - `accessGroup` (object, required) Access Group DTO - `accessGroup.id` (integer) Id of Access Group - `accessGroup.name` (string, required) Name of Access Group - `accessGroup.building` (object, required) Building associated with the unit type - `accessGroup.building.id` (integer) Unique identifier of the building - `accessGroup.building.name` (string) Name of the building - `accessGroup.externalIdentifier` (string, required) External Identifier of Access Group