Skip to main content
POST
/
webhooks
/
{webhook_id}
/
account-tx
/
unsubscribe
Unsubscribe from account transactions
curl --request POST \
  --url https://rt.tonapi.io/webhooks/{webhook_id}/account-tx/unsubscribe \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "accounts": [
    "0:6ccd325a858c379693fae2bcaab1c2906831a4e10a6c3bb44ee8b615bca1d220"
  ]
}
'
{
  "message": "unauthorized",
  "status_code": 401
}

Authorizations

Authorization
string
header
required

API key from tonconsole.com. Can also be passed as a token query parameter.

Path Parameters

webhook_id
integer
required

Webhook identifier.

Body

application/json
accounts
string[]
required

Account address in raw format.

Response

Unsubscribed