> 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/pt-br/comandos-do-bot/remove.md).

# /remove

## Comando de remoção

### Visão geral

O `/remove` o comando remove o acesso de um usuário ou cargo ao ticket atual. Execute-o dentro do ticket.

### Uso

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

* **usuário** *(menção de usuário opcional)*: O usuário a remover.
* **cargo** *(menção de cargo opcional)*: O cargo a remover.

Assim como `/add`, você pode fornecer um usuário, um cargo ou ambos. Você não pode remover um cargo de um ticket de thread.

### Descrição

* **Remover acesso**: Remove o usuário ou cargo do ticket para que ele não possa mais visualizá-lo nem enviar mensagens.
* **Mantê-lo privado**: Use isto para manter apenas os membros relevantes no ticket.

### Quando usar

* Quando o ticket não precisar mais da contribuição de um determinado usuário ou cargo.
* Quando você adicionou alguém por engano.

### Permissões

* Você pode usar este comando se tiver Gerenciar Canais ou Gerenciar Servidor, ou se for o proprietário do servidor, ou se tiver um cargo de suporte autorizado. Administrador também funciona, porque inclui essas permissões.
* O bot precisa da permissão `Gerenciar Canais` para atualizar o canal.

### Exemplos

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

Remove o acesso de John Doe ao ticket.

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

Remove o cargo SeniorSupport do ticket. Você não pode fazer isso em um ticket de thread.


---

# 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 dynamically by asking a question.

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

```
GET https://ticketking.xyz/docs/pt-br/comandos-do-bot/remove.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
