POST
/
v1
/
trace-learn
/
compliance
/
children
/
{studentId}
/
erase
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.eraseTraceLearnChildData({
  studentId: process.env.TX_AGENT_KIT_STUDENT_ID ?? "studentId",
  body: {},
})
{
  "auditId": "<string>",
  "mode": "<string>",
  "deletedCounts": {}
}

Path Parameters

studentId
string
required

Body

application/json
mode
enum<string>
Available options:
delete,
anonymise
reason
string | null

Response

Success

auditId
string | null
required
mode
string
required
deletedCounts
object
required