POST
/
v1
/
trace-learn
/
parent
/
learner-sessions
/
revoke
TypeScript client
import { TxAgentKitClient } from '@tx-agent-kit/sdk'

const client = new TxAgentKitClient({
  token: process.env.TX_AGENT_KIT_TOKEN
})

const response = await client.traceLearn.revokeTraceLearnParentLearnerSession({
  body: {},
})
{
  "revoked": true
}

Body

application/json
learnerSessionId
string<uuid>
required

a Universally Unique Identifier

Pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

Response

Success

revoked
enum<boolean>
required
Available options:
true