# IRPCReplicationPackages.DeleteReplicationPackages

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Server integration API](https://developer.m-files.com/APIs/gRPC-API/integration/index.md) > [Replication packages](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCReplicationPackages/index.md)

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

Badges: `Server integration API / specialized` `internal: not for applications` `write` `session` `idempotent`

Deletes replication packages from the given cloud storage location.

- **Service:** [Replication packages](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCReplicationPackages/index.md) `MFiles.IRPCReplicationPackages`
- **gRPC method:** `/MFiles.IRPCReplicationPackages/DeleteReplicationPackages`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/delete-replication-packages`
- **Request:** [`DeleteReplicationPackagesRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCReplicationPackages/DeleteReplicationPackages/index.md#request)
- **Response:** [`DeleteReplicationPackagesResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCReplicationPackages/DeleteReplicationPackages/index.md#response)
- **Book and level:** Server integration API, specialized
- **Kind:** write
- **Session:** Required: the session ID from LogIn in the mfiles-session-id-bin metadata.
- **Idempotent:** yes
- **Returns metadata structure version:** no
- **Streaming:** none (unary)

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

## Remarks

**For M-Files components only.** M-Files Admin calls it from its Manage Replication dialog.
Applications should not call it.
- Deletes the packages from the cloud storage permanently; they can no longer be imported into
  any vault.
- Requires a vault session and the vault right `change_full_control_role`.

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

## Request: DeleteReplicationPackagesRequest

> 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 |
|---|---|---|
| `connection_string` | `string` | The same connection string as in [GetReplicationPackages](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCReplicationPackages/GetReplicationPackages/index.md). |
| `replication_packages[]` | repeated `string` | The `name`s of the packages to delete. |

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

## Response: DeleteReplicationPackagesResponse

No fields.
