Device Groups

Returns a list of device groups in an account

GET
/m2m/v1/groups/{aname}

Returns a list of all device groups in a specified account.

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

Path Parameters

aname*string

Account name.

Response Body

application/json

application/json

curl -X GET "https://example.com/m2m/v1/groups/0252012345-00001"
[  {    "name": "Unassigned Devices",    "description": "All devices that are not in another device group.",    "isDefaultGroup": true,    "extendedAttributes": []  },  {    "name": "West Coast Devices",    "description": "",    "isDefaultGroup": false,    "extendedAttributes": []  }]