removeCustomers method
Future<void>
removeCustomers({
- required String serviceDeskId,
- required ServiceDeskCustomerDTO body,
This method removes one or more customers from a service desk. The service desk must have closed access. If any of the passed customers are not associated with the service desk, no changes will be made for those customers and the resource returns a 204 success code.
Permissions required: Services desk administrator
Implementation
Future<void> removeCustomers(
{required String serviceDeskId,
required ServiceDeskCustomerDTO body}) async {
await _client.send(
'delete',
'rest/servicedeskapi/servicedesk/{serviceDeskId}/customer',
pathParameters: {
'serviceDeskId': serviceDeskId,
},
body: body.toJson(),
);
}