Get custom attributes of a device

This endpoint is used to fetch the custom attributes of a device.

Leave Feedback

URL

GET https://{api-url}/api/v2/tenants/{clientId}/devices/{deviceId}/customAttributes

Sample URLs

https://{api-url}/api/v2/tenants/client_93/devices/DEV0000015767/customAttributes

Status code

200 OK

Sample response

[{
	"id": 1218,
	"customAttributeValue": {
		"id": 382,
		"customAttribute": {
			"id": 57,
			"name": "custom_attr_from_API_test_1",
                        "description":"custom_attr_from_API_test_1_update"
			"organization": {
				"uniqueId": "client_93",
				"name": "Brocade Lab",
                                "activated": "true"
			}
		},
		"value": "custom_attr_from_API_test_1_value"
                "description": "desc_custom_attr_from_API_test_1_update_1"
	},
               "taggable" : {
                             "id" : "DEV0000015747",
                             "name" : "hydlptCampusGolden",
                             "entityType" : "Device",
                             "resourceName": "testDev",
                             "hostName": "testDev",
                             "resourceType": "Desktop"
            },
	     "tagSource": "AWS"
}]