# Create a suspended user audience

## Introduction

While there is no official suspension feature in the Loyalty Engine, audiences can be used to help restrict users who have been flagged for abuse or fraudulent activity. This can act as a soft suspension method without deleting the user’s account.

{% hint style="danger" %}
This approach does *not* fully prevent a user from accessing or engaging with your loyalty program. It is your responsibility to manage user access in your own systems, and White Label Loyalty is not liable for any fraudulent activity or misuse.
{% endhint %}

#### Why use a soft suspension?

Soft suspending a user (rather than deleting their account) means:

* You retain visibility of their account activity
* You prevent them from re-registering with the same email address
* You can restrict or block loyalty logic using audience-based rules

***

## Configuration

{% hint style="info" %}
This configuration requires user flags. See [User data, attributes & flags](/product/loyalty-engine/users/user-data-attributes-and-flags.md) for more information.
{% endhint %}

### Adding the suspended user flag

1. Navigate to Users > Members. Find the user you wish to edit (use the filtering functionality if needed). Click 'Show' next to the user.
2. Click 'Edit' in the top right corner.
3. Scroll down to the 'Flags' section. Click 'Add'.
4. Call the new flag `suspendedUser` and set the value as `true`.
5. Click 'Save' at the bottom of the page.
6. Refresh the suspended/not suspended user audiences so the user joins / leaves them.

### Creating the suspended user audience

This creates an audience of users who are suspended.

1. Navigate to Users > Audiences and then click 'Create' in the top right corner.
2. Give the audience a name and description. Turn on `AUDIENCE_JOINED` and `AUDIENCE_LEFT` events if needed. Set the refresh rate to 'Manual'.
3. Move to the criteria tab. The criteria should be;
   * Flags - `suspendedUser` is `true`
4. Click Save.

### Creating the 'not suspended' user audience

This created an audience of users who are not suspended.

* Navigate to Users > Audiences and then click 'Create' in the top right corner.
* Give the audience a name and description. Turn on `AUDIENCE_JOINED` and `AUDIENCE_LEFT` events if needed. Set the refresh rate to 'Manual'.
* Move to the criteria tab. The criteria should be;
  * The <mark style="color:red;">**NOT**</mark> operator should be toggled **on** in the criteria group
  * Flags - `suspendedUser` is `true`
* Click Save.

### Add reactor conditions and reward availability criteria

1. Adjust your reactors to [add a condition](/product/loyalty-engine/reactors/conditions.md#user-in-audience) where user must be in the 'not suspended' audience.
2. Adjust your rewards so they're only [visible or purchasable](/product/loyalty-engine/rewards-and-points/rewards/reward-availability.md#limit-by-audience) to users in the 'not suspended' audience.

***

## Tips

* You can 'unsuspend a user' by removing the `suspendedUser` flag, or setting it to `false` if you want to keep a marker on their account that it was previously suspended.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kbase.whitelabel-loyalty.com/product/loyalty-engine/audiences/audience-tutorials/create-audiences-based-on-user-profile-information/create-a-suspended-user-audience.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
