removeUsersFromOrganization method
Future<void>
removeUsersFromOrganization({
- required int organizationId,
- required UsersOrganizationUpdateDTO body,
This method removes users from an organization.
Permissions required: Service desk administrator or agent. Note: Permission to delete users from an organization can be switched to users with the Jira administrator permission, using the Organization management feature.
Implementation
Future<void> removeUsersFromOrganization(
{required int organizationId,
required UsersOrganizationUpdateDTO body}) async {
await _client.send(
'delete',
'rest/servicedeskapi/organization/{organizationId}/user',
pathParameters: {
'organizationId': '$organizationId',
},
body: body.toJson(),
);
}