deleteOrganization method

Future<void> deleteOrganization(
  1. int organizationId
)

This method deletes an organization. Note that the organization is deleted regardless of other associations it may have. For example, associations with service desks.

Permissions required: Jira administrator.

Implementation

Future<void> deleteOrganization(int organizationId) async {
  await _client.send(
    'delete',
    'rest/servicedeskapi/organization/{organizationId}',
    pathParameters: {
      'organizationId': '$organizationId',
    },
  );
}