# IRPCExportedDataSetsAdmin.CancelExportedDataSetExecution

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) > [Exported data set administration](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/index.md)

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

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

Requests that a running export of an exported data set stops.

- **Service:** [Exported data set administration](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/index.md) `MFiles.IRPCExportedDataSetsAdmin`
- **gRPC method:** `/MFiles.IRPCExportedDataSetsAdmin/CancelExportedDataSetExecution`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/cancel-exported-data-set-execution`
- **Request:** [`CancelExportedDataSetExecutionRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/CancelExportedDataSetExecution/index.md#request)
- **Response:** [`CancelExportedDataSetExecutionResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/CancelExportedDataSetExecution/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:** yes
- **Returns metadata structure version:** no
- **Streaming:** none (unary)

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

## Remarks

- Records the cancel request and returns; M-Files Reporting Data Services stops the run.
- Fails when the data set is disabled. An unknown ID fails with "Not found.".
- Requires a vault session and the vault right `see_all_objects`.

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

## Request: CancelExportedDataSetExecutionRequest

> 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 |
|---|---|---|
| `id` | `int32` | The ID of the data set whose run to cancel. |

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

## Response: CancelExportedDataSetExecutionResponse

No fields.
