Unlink Group From Device

To unlink a group from a device, you must be a device owner linked to a device.

URL

https://{{HOST}}/security/device/groups?v=2.0&deviceId={deviceId}&groupId={groupId}

Method

DELETE

Required IMS Scopes

  • securityapi_all

Versions Supported

  • 2.0 (Default)

URL Query Parameters

Name Description Example Type
v
optional
Version of the api to use /device?v=2.0 number
deviceId
required
The ID of the device. /device/group?deviceId=testDevice string
groupId
required
The ID of the group. /device/group?groupId=testGroup string

Request Header Parameters

Type Value Description
Authorization
required
Bearer {access_token} IMS access token

Example

Request

curl -X DELETE 
  'https://{{HOST}}/securityapi/device/group?v=2.0&deviceId=testDevice&groupId=testGroup' 
  -H 'Authorization: Bearer {access_token}'

Response

{
  "success": true
}

Errors

Error Description
Error Name Description of Error

Response Body Parameters

Name Description Schema
Object Name Description object definition
success Description object definition