Skip to content

Clear user

Request

Clears the user context for all subsequent events.

Security
risk_access_token
Bodyapplication/jsonrequired
One of:
session_tokenstringrequired

A token returned by the SDK for the device session established upon SDK initialization.

curl -i -X POST \
  https://api.sbx.transmitsecurity.io/risk/v1/action/clear-user \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "session_token": "string"
  }'

Responses

The user association has been cleared for the device.

Bodyapplication/json
successboolean

Defines if the operation was successful.

Example:true
messagestring

A human-readable confirmation message.

Example:"User has been cleared."
Response
{ "success": true, "message": "User has been cleared." }