POST/v1/device-groups/{id}/devicesAdd multiple devices to a device group

Add multiple devices to a group
headerAuthorizationAuthentication token (bearer token or API key).
[Number]

Response

status200All ok
status400Device must be registered/Group and device do not belong to the same account
status401Invalid authentication token
status403Insufficient rights
status404Device group/device not found
{}

Example: Add multiple devices to a group

POST/v1/device-groups/1/devices

headerAuthorizationBearer cdb10ee1-7413-4110-9391-e87b1952ca68
[1]

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=()
{}