POST/v1/device-groupsCreate a device group

Create a device group
parameterorganizationIdThe organization where the groups will be created: Number
headerAuthorizationAuthentication token (bearer token or API key).
{
"name" : String,
"remarks" : String,
"location" : String
}

Response

status200All ok
status401Invalid authentication token
status403Insufficient rights
Number

Example: Create a device group

POST/v1/device-groups

parameterorganizationId39
headerAuthorizationBearer 0083cc37-b3b0-4cf4-80db-c3c75ffab433
{
"name": "Device Group Test"
}

Response

status200
headerAccess-Control-Expose-Headersauthorization, content-type
headerAccess-Control-Allow-Headersauthorization, content-type
headerAccess-Control-Allow-MethodsGET, POST, DELETE, OPTIONS, PUT
headerAccess-Control-Allow-Origin*
headerStrict-Transport-Securitymax-age=31536000; includeSubDomains
headerX-Frame-OptionsSAMEORIGIN
headerX-Content-Type-Optionsnosniff
headerX-XSS-Protection1; mode=block
headerContent-Security-Policydefault-src 'none'; frame-ancestors 'none'; base-uri 'none'; form-action 'none'
headerReferrer-Policyno-referrer
headerFeature-Policyself
headerPermissions-policyinterest-cohort=()
19