Add members to a group.

Returns the Group containing its members.
Sample request body:
{
"groupMembers": {
"members": [
{
"href": "https://connect.calamp.com:443/connect/services/operators/2",
"rel": "operator",
"status": "Enabled"
}
],
"searchCriteria": [
{
"memberSearch": {
"type": "asset",
"searchTerms": {
"status": "Enabled"
}
}
},
{
"smartSearch": {
"type": "device",
"queryString": "name:LMU AND esn:123",
"accountId": 2
}
}
]
}
}

Path Params
string
required

Group id

Query Params
string
enum
Defaults to 2.1

version

Allowed:
Body Params

The list of members to be added to the group and/or search criteria to retrieve members to be added to the group.

members
array of objects
members
searchCriteria
array of objects
searchCriteria
Responses

400

Invalid request.

403

Not authorized for this operation.

404

Group not found.

500

Server error

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