---
title: "removeOrganization"
canonical: "https://support.appfire.com/space/PSJ/15480838/removeOrganization"
format: markdown
---
> Macro (aura-html)


> 📝 The use of this function requires the Power Scripts for Jira add-on be installed and licensed.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | removeOrganization(organization, project) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Removes an organization or a list of organizations from a specified project.

Removes an organization or a list of organizations from a specified project.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| organization | String [] | Yes | The organizations name. |
| project | String | Yes | The key of the selected project. |

## Return Type

**Boolean**

Returns "true" if the operation succeeded.

## Example

```
return removeOrganization({"First Organization", "Second Organization"}, "JSD");
```

## See also

> Macro (contentbylabel)

> Macro (fc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macro)