> For the complete documentation index, see [llms.txt](https://vu-custom.gitbook.io/vu-custom/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://vu-custom.gitbook.io/vu-custom/admin-api/account-management/delete-a-sold_to_account.md).

# Delete a sold\_to\_account

Method : <mark style="color:green;">**DELETE**</mark>

{% code fullWidth="false" %}

```url
https://os.vucustom.com/api/v1/sold_to_accounts?id=&account_number=
```

{% endcode %}

URL Parameters

<table><thead><tr><th width="187">Field Name</th><th>Description</th></tr></thead><tbody><tr><td>id</td><td>sold_to_account Id which was system generated</td></tr><tr><td>account_number</td><td>This uid is provided from an external source.</td></tr></tbody></table>

<details>

<summary>Example Request</summary>

```url
https://os.vucustom.com/api/v1/sold_to_accounts?id=&account_number=
```

</details>

{% tabs %}
{% tab title="200" %}
**`200 Successful response example`**

```json
{}
```

{% endtab %}

{% tab title="401 " %}
**`401 Unauthorized`**

`The client doesn’t have correct authentication credentials.`

```
{
"errors": "[API] Invalid API key or secret (unrecognized login or wrong password)"
}
```

{% endtab %}

{% tab title="403" %}
**`403 Forbidden`**

`The server is refusing to respond. This is typically caused by incorrect access.`
{% endtab %}

{% tab title="404" %}
**`404 Not Found`**

`The requested resource was not found but could be available again in the future.`
{% endtab %}

{% tab title="422" %}
**`422 Unprocessable Entity`**
{% endtab %}

{% tab title="5xx" %}
**`5xx Errors`**

`An internal error occurred in VU Admin.`
{% endtab %}
{% endtabs %}
