> For the complete documentation index, see [llms.txt](https://ticketking.xyz/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ticketking.xyz/docs/fr/commandes-du-bot/remove.md).

# /remove

## Commande de suppression

### Aperçu

Le `/remove` Cette commande retire l'accès d'un utilisateur ou d'un rôle au ticket actuel. Exécutez-la à l'intérieur du ticket.

### Utilisation

```
/remove [user:@user] [role:@role]
```

* **utilisateur** *(mention d’utilisateur facultative)*: L'utilisateur à retirer.
* **rôle** *(mention de rôle facultative)*: Le rôle à retirer.

Comme `/add`, vous pouvez fournir un utilisateur, un rôle, ou les deux. Vous ne pouvez pas retirer un rôle d'un ticket de fil.

### Description

* **Retirer l'accès**: Retire l'utilisateur ou le rôle du ticket afin qu'il ne puisse plus le voir ni envoyer de messages.
* **Gardez-le privé**: Utilisez ceci pour ne garder dans le ticket que les membres concernés.

### Quand l’utiliser

* Lorsque le ticket n'a plus besoin de l'avis d'un certain utilisateur ou rôle.
* Lorsque vous avez ajouté quelqu'un par erreur.

### Permissions

* Vous pouvez utiliser cette commande si vous avez Gérer les salons ou Gérer le serveur, ou si vous êtes le propriétaire du serveur, ou si vous détenez un rôle d’assistance autorisé. Administrateur fonctionne aussi, car cela inclut ces permissions.
* Le bot a besoin de l’autorisation `Gérer les salons` pour mettre à jour le salon.

### Exemples

```
/remove user:@JohnDoe
```

Retire l'accès de John Doe au ticket.

```
/remove role:@SeniorSupport
```

Retire le rôle SeniorSupport du ticket. Vous ne pouvez pas faire cela sur un ticket de fil.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://ticketking.xyz/docs/fr/commandes-du-bot/remove.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
