> For the complete documentation index, see [llms.txt](https://docs.realmjoin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.realmjoin.com/pt/automacao/runbooks/runbook-references/user/security/revoke-or-restore-access.md).

# Revogar ou restaurar acesso

### Descrição

Bloqueia ou reativa uma conta de usuário e, opcionalmente, revoga sessões de entrada ativas. Isso pode ser usado durante a resposta a incidentes para invalidar imediatamente os tokens do usuário.

### Localização

Usuário → Segurança → Revogar ou Restaurar Acesso

**Nome completo do Runbook**

rjgit-user\_security\_revoke-or-restore-access

### Permissões

#### Permissões de aplicativo

* **Tipo**: Microsoft Graph
  * User.ReadWrite.All

#### funções RBAC

* Administrador de Usuário

### Parâmetros

#### Nome de usuário

Nome principal do usuário do usuário de destino.

| Propriedade  | Valor  |
| ------------ | ------ |
| Necessário   | true   |
| Valor padrão |        |
| Tipo         | String |

#### Revogar

"(Re-)Habilitar Usuário" (valor final: $false) ou "Revogar Acesso" (valor final: $true) podem ser selecionados como ação a executar. Se definido como true, o runbook bloqueará o usuário de entrar e revogará as sessões ativas. Se definido como false, ele reabilitará a conta do usuário.

| Propriedade  | Valor   |
| ------------ | ------- |
| Necessário   | false   |
| Valor padrão | True    |
| Tipo         | Boolean |

[Voltar para a visão geral da referência do Runbook](/pt/automacao/runbooks/runbook-references.md)


---

# 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:

```
GET https://docs.realmjoin.com/pt/automacao/runbooks/runbook-references/user/security/revoke-or-restore-access.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.
