Endpoint
/api/v2/tenants/{tenantId}/customAttributes/{attributeId}/values/{valueId}/serviceGroups
Unassigns custom attribute from service groups.
Path Parameters
tenantIdstring
attributeIdstring
valueIdstring
idstring
[
{
"id": "SGP-d7657432-3698-4894-a07f-c2ef9aa0789e"
},
{
"id": "SGP-a4659431-2699-8895-c07f-b2ef9aa078ce"
}
]
Responses
OK
failedCountinteger
failedEntitiesobject
successCountinteger
{
"FailedCount": 2,
"SuccessCount": 0,
"failedEntities": {
"SGP-a4659431-2699-8895-c07f-b2ef9aa078ce": "Invalid Service group id for client : 93",
"SGP-d7657432-3698-4894-a07f-c2ef9aa0789q": "Invalid Service group id for client : 93"
}
}
{
"FailedCount": 0,
"FailedEntities": {},
"SuccessCount": 2
}
Endpoint
/api/v2/tenants/{tenantId}/customAttributes/{attributeId}/values/{valueId}/serviceGroups
Assigns custom attributes to service groups.
Path Parameters
tenantIdstring
attributeIdstring
valueIdstring
idstring
[
{
"id": "SGP-d7657432-3698-4894-a07f-c2ef9aa0789e"
},
{
"id": "SGP-a4659431-2699-8895-c07f-b2ef9aa078ce"
}
]
Responses
OK
failedCountinteger
failedEntitiesobject
successCountinteger
{
"failedCount": 2,
"failedEntities": {
"SGP-a4659431-2699-8895-c07f-b2ef9aa078ce": "Invalid Service group id for client : 93",
"SGP-d7657432-3698-4894-a07f-c2ef9aa0789q": "Invalid Service group id for client : 93"
},
"successCount": 0
}
{
"failedCount": 0,
"failedEntities": {},
"successCount": 2
}