**Source URL:** https://limited.veevavault.dev/regulatory/vault-api/api-reference/25.3/custom-pages/delete-single-client-code-distribution

# Delete Single Client Code Distribution

Delete a specific client code distribution. To delete a distribution, you must first remove all `Page` components associated with it from your Vault.

To delete a single file from an existing distribution, re-package the distribution without the file and re-[upload the distribution to Vault](/regulatory/vault-api/api-reference/25.3/custom-pages/add-or-replace-single-client-code-distribution).

<Endpoint path="/api/{version}/uicode/distributions/{distribution_name}" method="DELETE" />

## Headers

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

## URI Path Parameters

<FieldTable>
| Name | Description |
| --- | --- |
| `{distribution_name}` | The `name` attribute of the client code distribution to delete. |
</FieldTable>

## Request

<CodeExample title="">
```bash
curl -X DELETE -H "Authorization: {SESSION_ID}" \
https://myvault.veevavault.com/api/v25.1/uicode/distributions/custom_page__c
```
</CodeExample>

## Response

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

---

**Previous:** [Add or Replace Single Client Code Distribution](/regulatory/vault-api/api-reference/25.3/custom-pages/add-or-replace-single-client-code-distribution)  
**Next:** [RIM Submissions Archive](/regulatory/vault-api/api-reference/25.3/rim-submissions-archive)