URL

DELETE https://{api-url}/api/v2/tenants/{tenantId}/customAttributes/{attributeId}/values/{valueId}/devices

Sample URLs

https://{api-url}/api/v2/tenants/client_93/customAttributes/71/values/411/devices

Status code

200 OK

Sample requests

A sample to unassign a custom attribute from devices with entityType:

[
       {
		"id": "NRC-99de8eed-184b-4687-bbbb-6d06771f33ee",
                "entityType" : "NON_MON_RESOURCES"
       },
       {        "id" : "d69b7c66-f827-4c1a-8399-f059cfb9cfc7",
                "entityType" : "RESOURCE"
       }
]

A sample to unassign a custom attribute from devices without entityType:

[
       {
                "id": "d69b7c66-f827-4c1a-8399-f059cfb9cfc7"
       }
]

Sample responses

A sample successful response for all provided entities:

{
	"FailedEntities": {},
	"FailedCount": 0,
	"SuccessCount": 2
}

A sample failed response for all provided entities:

{
	"FailedEntities": {
                           "NRC-99de8eed-184b-4687-bbbb-6d06771f33ee" : "Invalid resource id for client : 4",
                           "d69b7c66-f827-4c1a-8399-f059cfb9cfc7" : "Invalid resource id for client : 4"

        },
	"FailedCount": 2,
	"SuccessCount": 0
}