Supported Formats

json

Errors

Code Description
401 Token is invalid
401 You must authenticate to perform this request.
404 The requested resource was not found.

Examples

POST '/api/v2/assets_groups' -d {
   "assets_group": {
     "name": "test group",
     "asset_imeis": ["359858024351692", "359858021918949"]
   }
 } :
 {
   "id": 54,
   "name": "test group",
   "assets": ["359858021918949","359858024351692"]
 } 

Params

Param name Description
_token
required

Validations:

  • Must be a String

asset_imeis
required

List of imeis

Validations:

  • Must be an array of any type

name
optional

Name of the asset group (default is “Group #{group id}”)

Validations:

  • Must be a String