Sensor Insights Notification Groups
Partially update a notification group
Authorization
thingspace_oauth VZ-M2M-Token AuthorizationBearer <token>
This is the ThingSpace token, from Credentials and Tokens is used
In: header
VZ-M2M-Token<token>
M2M Session Token (How to generate an M2M session token?)
In: header
Request Body
application/json
Partially update a notification group
Partially update a notification group
accountname?string
The numeric account name, which must include leading zeros
group*
id?string
UUID of the user record, assigned at creation
userids?array<string>
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/dm/v1/notificationGroups" \ -H "Content-Type: application/json" \ -d '{ "accountname": "0000123456-00001", "group": { "description": "a short description", "groupemail": "email@domain.com", "name": "User defined name of the record" }, "id": "7b0b9c53-eeee-ffff-gggg-bde5e44f4b12", "userids": [ "ee70a869-eeee-ffff-gggg-07c14c31f96e", "131501ff-eeee-ffff-gggg-647d19179a12" ] }'{ "createdon": "2023-10-02T15:46:34.562Z", "description": "a short description", "foreignid": "c1f178d3-eeee-ffff-gggg-0d6b7ae6022a", "groupemail": "email@domain.com", "id": "string", "lastupdated": "2023-10-02T15:46:34.562Z", "name": "name of the record", "users": [ { "email": "email@domain.com", "firstname": "First name", "lastname": "Last name or Surname", "mdn": "908-555-1234", "customdata": { "property1": null, "property2": null } } ], "version": "1.0", "versionid": "337bd2e8-eeee-ffff-gggg-5207992fd395"}
