DELETE
/
v1
/
organizations
/
{organization_id}
/
ledgers
/
{ledger_id}
/
assets
/
{asset_id}
Delete an Asset
curl --request DELETE \
  --url http://127.0.0.1:3000/v1/organizations/{organization_id}/ledgers/{ledger_id}/assets/{asset_id} \
  --header 'Content-Type: <content-type>'
This response does not have an example.
ImportantAn Asset can only be deleted if no balance remains in its Ledger accounts.You must move all remaining amounts to an External Account before deleting the Asset.

Headers

Content-Type
string
required

The type of media of the resource. Must be <code>application/json</code>.

X-Request-Id
string

A unique identifier used to trace and track each request.

Path Parameters

organization_id
string
required

The unique identifier of the Organization associated with the Ledger.

ledger_id
string
required

The unique identifier of the associated Ledger.

asset_id
string
required

The unique identifier of the asset that you want to retrieve, delete or update.

Response

Indicates that the resource was successfully deleted.