> 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` 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 opcional de usuário)*: O usuário a ser removido.
* **cargo** *(menção opcional de cargo)*: O cargo a ser removido.

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 eles não possam mais visualizá-lo ou enviar mensagens.
* **Mantenha-o privado**: Use isto para manter apenas os membros relevantes no ticket.

### Quando usar

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

### Permissões

* Você pode usar este comando se tiver as permissões Gerenciar Canais ou Gerenciar Servidor, ou se for o proprietário do servidor, ou se tiver uma função de suporte autorizada. 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.
