# IRPCVaultLoginsAdmin.RemoveVaultLogin

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Administration API](https://developer.m-files.com/APIs/gRPC-API/admin/index.md) > [Vault login accounts](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultLoginsAdmin/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultLoginsAdmin/RemoveVaultLogin/

Badges: `Administration API / specialized` `admin` `session`

Removes a login account from the vault.

- **Service:** [Vault login accounts](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultLoginsAdmin/index.md) `MFiles.IRPCVaultLoginsAdmin`
- **gRPC method:** `/MFiles.IRPCVaultLoginsAdmin/RemoveVaultLogin`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/remove-vault-login`
- **Request:** [`RemoveVaultLoginRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultLoginsAdmin/RemoveVaultLogin/index.md#request)
- **Response:** [`RemoveVaultLoginResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultLoginsAdmin/RemoveVaultLogin/index.md#response)
- **Book and level:** Administration API, specialized
- **Kind:** admin
- **Session:** Required: the session ID from LogIn in the mfiles-session-id-bin metadata.
- **Idempotent:** no
- **Returns metadata structure version:** no
- **Streaming:** none (unary)

<a id="remarks"></a>

## Remarks

- Deletes the login; it can no longer authenticate to this vault. The user account that refers
  to it stays, with its `external_id` cleared; remove or disable it separately with
  [IRPCUsersAdmin](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCUsersAdmin/index.md).
- Requires the vault right `manage_users` (see the service overview for servers where vault
  logins are read-only for vault administrators).
- An unknown account name fails with "Not found.". A login with an `external_id` fails with
  "Access denied" ("... should be changed via Manage").

<a id="request"></a>

## Request: RemoveVaultLoginRequest

> Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

| Field | Type | Description |
|---|---|---|
| `account_name` | `string` | The account name of the login: the user name of an M-Files login, or `DOMAIN\user` of a Windows login. |

<a id="response"></a>

## Response: RemoveVaultLoginResponse

No fields.
