**Source URL:** https://limited.veevavault.dev/regulatory/vault-api/api-reference/23.1/rim-submissions-archive/cancel-submission.md

# Cancel Submission



You can use this request on a submission object record that has a Submissions Archive Status (`archive_status__v`) of:

<FieldTable>
| Name | Description |
| --- | --- |
| `IMPORT_IN_PROGRESS` | This will terminate the import job and set the `archive_status__v` field on the `submission__v` object record to "Error". The submission must be removed before a re-import can be done. See [Remove Submission](/vault-api/api-reference/23.1/rim-submissions-archive/remove-submission) above. |
| `REMOVAL_IN_PROGRESS` | This will terminate the import removal job and set the `archive_status__v` field on the `submission__v` object record to "Error". The submission must be removed before a re-import can be done. See [Remove Submission](/vault-api/api-reference/23.1/rim-submissions-archive/remove-submission) above. |
| `IMPORT_IN_QUEUE` | This will remove the import from the job queue and set the `archive_status__v` field on the `submission__v` object record to "Null". See [Import Submission](/vault-api/api-reference/23.1/rim-submissions-archive/import-submission) above. |
| `REMOVAL_IN_QUEUE` | This will remove the import removal from the job queue and set the `archive_status__v` field on the `submission__v` object record to "Error". See [Import Submission](/vault-api/api-reference/23.1/rim-submissions-archive/import-submission) above. |
</FieldTable>
To retrieve the `archive_status__v`, <span class="label label-success">GET</span>  `/api/{version}/vobjects/submission__v/{submission_id}`. See [Retrieve Object Record](/vault-api/api-reference/23.1/vault-objects/retrieve-object-record) above.

<Endpoint path="/api/{version}/vobjects/submission__v/{submission_id}/actions/import?cancel=true" method="POST"></Endpoint>

## Headers {#headers}

<FieldTable>
| Name | Description |
| --- | --- |
| `Accept` | `application/json` (default) or `application/xml` |
</FieldTable>

## URI Path Parameters {#uri-path-parameters}

<FieldTable>
| Name | Description |
| --- | --- |
| `{submission_id}` | The `id` field value of the `submission__v` object record. See [Retrieve Object Record Collection](/vault-api/api-reference/23.1/vault-objects/retrieve-object-record-collection) above. |
</FieldTable>

## Query Parameters {#query-parameters}

## Request {#request}

<CodeExample title="">
```
curl -X POST -H "Authorization: {SESSION_ID}" \
https://myvault.veevavault.com/api/v15.0/vobjects/submission__v/00S000000000101/actions/import?cancel=true

```
</CodeExample>

## Response {#response}

<CodeExample title="">
```
{
  "responseStatus": "SUCCESS"
}

```
</CodeExample>

---

**Previous:** [Remove Submission](/regulatory/vault-api/api-reference/23.1/rim-submissions-archive/remove-submission)  
**Next:** [Export Submission](/regulatory/vault-api/api-reference/23.1/rim-submissions-archive/export-submission)