UnitGroup
Replace a unit group
Use this call to modify a unit group.<br>You must have at least one of these scopes: 'unitgroups.manage, setup.manage'.<br>For fine-grained clients, you must have this permission: 'core.unit_groups.modify'.
put/inventory/v1/unit-groups/{id}
Request
- Base URLhttps://api.apaleo.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.apaleo.com/inventory/v1/unit-groups/{id}
- AuthOAuth 2Implicit: https://identity.apaleo.com/connect/authorizeScopes: unitgroups.manage, setup.manage, admin
Path parameters
idstring required
The id of the unit group.
Request body
Example request
{
"name": {
"en": "Double Room",
"de": "Doppelzimmer"
},
"description": {
"en": "This is a nice room with as kingsize bed and flat screen",
"de": "Dies ist ein schönes Zimmer mit Kingsize-Bett und Flachbildschirm"
},
"maxPersons": 4,
"rank": 2
}Response
Replace of the unit group was successful.
Changes
No recorded changes to this operation across all 4 revisions of this API.