# IRPCSharedLinks.RemoveSharedLinkRecipients

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) > [Shared links](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSharedLinks/index.md)

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

Badges: `Vault API / standard` `write` `session or assertion`

Removes visitors from an external or visitor link.

- **Service:** [Shared links](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSharedLinks/index.md) `MFiles.IRPCSharedLinks`
- **gRPC method:** `/MFiles.IRPCSharedLinks/RemoveSharedLinkRecipients`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/remove-shared-link-recipients`
- **Request:** [`RemoveSharedLinkRecipientsRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSharedLinks/RemoveSharedLinkRecipients/index.md#request)
- **Response:** [`RemoveSharedLinkRecipientsResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSharedLinks/RemoveSharedLinkRecipients/index.md#response)
- **Book and level:** Vault API, standard
- **Kind:** write
- **Session:** Required: a session (mfiles-session-id-bin metadata) or a session assertion (x-mf-session-assertion metadata).
- **Idempotent:** no
- **Returns metadata structure version:** no
- **Streaming:** none (unary)

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

## Remarks

- Give the plain email addresses (without a name). Addresses that are not recipients are
  ignored.
- Users who cannot see the full list of visitors can remove only the recipients they added.

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

## Request: RemoveSharedLinkRecipientsRequest

> 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 |
|---|---|---|
| `access_key` | `string` | The access key of the link. |
| `recipients[]` | repeated `string` | The email addresses to remove. |

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

## Response: RemoveSharedLinkRecipientsResponse

No fields.
