# IRPCExtensionAuthentications.LogoutWithExtensionAuthentication

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Vault API](https://developer.m-files.com/APIs/gRPC-API/vault/index.md) > [Extension authentications](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExtensionAuthentications/index.md)

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

Badges: `Vault API / standard` `write` `session` `returns metadata structure version`

Removes the caller's stored credentials for an external system and logs the caller out of it.

- **Service:** [Extension authentications](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExtensionAuthentications/index.md) `MFiles.IRPCExtensionAuthentications`
- **gRPC method:** `/MFiles.IRPCExtensionAuthentications/LogoutWithExtensionAuthentication`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/logout-with-extension-authentication`
- **Request:** [`LogoutWithExtensionAuthenticationRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExtensionAuthentications/LogoutWithExtensionAuthentication/index.md#request)
- **Response:** [`LogoutWithExtensionAuthenticationResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExtensionAuthentications/LogoutWithExtensionAuthentication/index.md#response)
- **Book and level:** Vault API, standard
- **Kind:** write
- **Session:** Required: the session ID from LogIn in the mfiles-session-id-bin metadata.
- **Idempotent:** no
- **Returns metadata structure version:** yes (in the mfiles-metadata-version-bin trailer)
- **Streaming:** none (unary)

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

## Remarks

- Requires a vault session. Affects only the caller's own credentials.
- Succeeds also when nothing was stored for the target.

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

## Request: LogoutWithExtensionAuthenticationRequest

> 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 |
|---|---|---|
| `target` | `string` | The `id` of the target. |

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

## Response: LogoutWithExtensionAuthenticationResponse

No fields.
