Skip to main content
DELETE
/
v1
/
settings
/
metadata-indexes
/
entities
/
{entity_name}
/
key
/
{index_key}
Delete a Metadata Index
curl --request DELETE \
  --url https://ledger.sandbox.lerian.net/v1/settings/metadata-indexes/entities/{entity_name}/key/{index_key} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: <content-type>'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

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<uuid>

A unique identifier used to trace and track each request.

Path Parameters

entity_name
enum<string>
required

The name of the entity for which the metadata index will be created or managed.

Available options:
organization,
ledger,
asset,
segment,
portfolio,
account,
transaction,
operation,
account_type,
operation_route,
transaction_route
index_key
string
required

The metadata key used in the index that you want to delete.

Response

Indicates that the metadata index was successfully deleted.