POST
/
v0
/
tags
/
{tag_id}
/
clear
curl --request POST \
  --url https://api.sandbox.teal.dev/v0/tags/{tag_id}/clear \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'teal-instance-id: <teal-instance-id>' \
  --data '{
  "transactions": [
    {
      "ledger_id": "7JRNsKwy2Lw66caxVU7WGC",
      "transaction_id": "txn_NCB2xo5"
    }
  ]
}'
"<any>"

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

teal-instance-id
string
required

The teal instance ID

Path Parameters

tag_id
string
required

The tag ID

Body

application/json
transactions
object[]
required

A list of transactions from which to remove a given tag.

Example:
[
  {
    "ledger_id": "7JRNsKwy2Lw66caxVU7WGC",
    "transaction_id": "txn_NCB2xo5"
  }
]

Response

201
application/json
Successful Response

The response is of type any.