Skip to main content
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.
An 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

Authorization
string

The authorization token. This header is required if your environment has the Access Manager enabled.

Content-Type
string
required

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

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.