Get access control list

This endpoint is to get the ACL of the specific device.

URL

https://{{HOST}}/security/device/{deviceId}/permissions?v={version}

Method

GET

Required IMS Scopes

  • securityapi_all

Versions Supported

  • 2.0 (Default)

URL Path Parameters

Name Description Type
deviceId
required
The ID of the device. string

URL Query Parameters

Name Description Example Type
v
optional
Version of the api to use /device?v=2.0 number

Request Header Parameters

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

Example

Request

curl -X GET 
  'https://{{HOST}}/securityapi/device/testDevice/permissions?v=2.0' 
  -H 'Authorization: Bearer {access_token}'

Response

{
    "objectId": "TestDeviceId",
    "accesscontrolitems": {
        "sub:user:testUsr": "owner",
        "org:testOrganization": "readwrite"
    }
}

Errors

Error Description
Error Name Description of Error

Response Body Parameters

Name Description Schema
Object Name Description object definition
objectId Description object definition
accesscontrolitems Description object definition