removeOrganization method
Future<void>
removeOrganization({
- required String serviceDeskId,
- required OrganizationServiceDeskUpdateDTO body,
This method removes an organization from a service desk. If the organization ID does not match an organization associated with the service desk, no change is made and the resource returns a 204 success code.
Permissions required: Service desk's agent.
Implementation
Future<void> removeOrganization(
{required String serviceDeskId,
required OrganizationServiceDeskUpdateDTO body}) async {
await _client.send(
'delete',
'rest/servicedeskapi/servicedesk/{serviceDeskId}/organization',
pathParameters: {
'serviceDeskId': serviceDeskId,
},
body: body.toJson(),
);
}