# How to remove an agent from organization?

If an employee is retired or transferred to another position, he/she is likely to be removed from the organization, queues, and team channels on Ninchat.

## Remove an agent from the organization and queues

Managing agents of an organization requires organization operator level.

1. Click the name of the organization in the upper left corner and select "Organization settings" from the drop-down menu.
2. Find the agent name that you want to remove (or use filter to search for it), then click the name row.
3. In the edit view, click the "Remove membership" button.

The agent should now be removed from the organization and queues.

## Remove an agent from a channel

Removing an agent from a channel requires moderator rights of that channel. An agent must be removed from each channel separately, as the agent will not leave any channels automatically even though he/she is removed from the organization.

1. Make sure you have moderator rights of the channel. If you are a channel operator, you can grant the moderator rights to yourself by clicking your name in the channel member list and selecting "Give moderator rights".
2. Click the name of the agent to be removed and select "Remove from channel" in the drop-down menu. The user will be removed from that channel.
3. Repeat for other channels as needed.

## Remove a user account from Ninchat <a href="#kayttajatilin-poistaminen-ninchatista" id="kayttajatilin-poistaminen-ninchatista"></a>

A user account can be completely deleted only if the user does it by him/herself. See detailed instructions from the link below.

{% content-ref url="/pages/-LNt30YQws7YoG9vHvCR" %}
[Remove user account](/ninchat-support/english/user-account/remove-user-account.md)
{% endcontent-ref %}


---

# 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://support.ninchat.com/ninchat-support/english/organization/remove-agent-from-organization.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.
