Unassign custom attribute from service groups

This endpoint is used to unassign custom attribute from service groups.

Leave Feedback

URL

POST https://{api-url}/api/v2/tenants/{varId}/customAttributes/{attributeId}/values/{valueId}/clients

Sample URLs

https://{api-url}/api/v2/tenants/msp_92/customAttributes/64/values/397/clients

Status code

200 OK

Sample request

[{
		"id": "SGP-d7657432-3698-4894-a07f-c2ef9aa0789e"
	},
	{
		"id": "SGP-a4659431-2699-8895-c07f-b2ef9aa078ce"
	}
]

Sample response

A successful response unassigning a custom attribute from a service group:

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

A failed response unassigning a custom attribute from a service group:

{
	"failedEntities": {
		"SGP-d7657432-3698-4894-a07f-c2ef9aa0789q": "Invalid Service group id for client  : 93",
		"SGP-a4659431-2699-8895-c07f-b2ef9aa078ce": "Invalid Service group id for client  : 93"
	},
	"FailedCount": 2,
	"SuccessCount": 0
}