curl --request DELETE "https://api.subtotal.com/link-tokens/$SUBTOTAL_LINK_TOKEN" \
--header "X-Api-Key: $SUBTOTAL_API_KEY"
{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Link Tokens
Revoke Link Token
Permanently revoke a link token
DELETE
/
link-tokens
/
{link_token}
curl --request DELETE "https://api.subtotal.com/link-tokens/$SUBTOTAL_LINK_TOKEN" \
--header "X-Api-Key: $SUBTOTAL_API_KEY"
{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}curl --request DELETE "https://api.subtotal.com/link-tokens/$SUBTOTAL_LINK_TOKEN" \
--header "X-Api-Key: $SUBTOTAL_API_KEY"
X-Api-Key or an OAuth access token with connections:write. Use the raw token as the path parameter, and redact that request path from logs.
Returns 204 for an owned active, expired, or already-revoked token; an unknown or foreign token returns 404. Revocation does not disconnect existing connections or invalidate already-issued connection JWTs. See revoke or replace a URL.