DELETE/v1/device-groups/{id}/devices/{deviceId}Remove a device from a group

Remove a device from a group
headerAuthorizationAuthentication token (bearer token or API key).

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: Remove a device from a group

DELETE/v1/device-groups/42/devices/27

headerAuthorizationBearer ea4b4aaa-ba24-44eb-88fd-8f0605198ad1

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