Skip to main content
PUT
Updates Group

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

customerId
string
required

Body

application/json;charset=UTF-8
id
string
required

ID of group

Required string length: 1 - 24
Pattern: ^[a-z0-9]+$
Example:

"groupID"

name
string

Group name

Maximum string length: 255
Example:

"group-name"

parentId
string

ID of parent group, in case for changing the hierarchy

Example:

"rootGroupId"

vehicleIds
string[]

List of Vehicle IDs to assign for concrete group

personIds
string[]

List of Person IDs to assign for concrete group

Response

Updated group.

id
string
required

ID of group

Required string length: 1 - 24
Pattern: ^[a-z0-9]+$
Example:

"groupID"

name
string

Group name

Maximum string length: 255
Example:

"group-name"

parentId
string

ID of parent group, in case for changing the hierarchy

Example:

"rootGroupId"

path
string
read-only

Hierarchy path from root group

Example:

"rootGroupId.groupID"

vehicleIds
string[]

List of Vehicle IDs to assign for concrete group

personIds
string[]

List of Person IDs to assign for concrete group