DELETE
/
account
/
{account_id}
/
tax_document
/
{id}
curl --request DELETE \
  --url https://api.treasuryprime.com/account/{account_id}/tax_document/{id} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "account_id": "<string>"
}'
{
  "account_id": "acct_2074732992",
  "is_correction": false,
  "status": "deleted",
  "type": "1099",
  "year": "2024"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

account_id
string
required

Account ID

id
string
required

Tax Document ID

Body

application/json
The account.tax_document.delete to update
account_id
string

Account ID

Response

200 - application/json
The account.tax_document.delete updated

The response is of type any.