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


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

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | removeCustomerFromOrganization(customer, organization) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Removes a customer or a list of customers from a specified organization.

Removes a customer or a list of customers from a specified organization.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| customer | String [] | Yes | The customers' username. |
| organization | String | Yes | The organization name. |

## Return Type

**Boolean**

Returns "true" if the operation succeeded.

## Example

```
return removeCustomerFromOrganization({"customer1@email.com", "customer2@email.com"}, "My Organization");
```

## See also

> Macro (contentbylabel)

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