Skip to main content
POST
/
loglife
/
unregister
Remove a registered user
curl --request POST \
  --url http://localhost:18789/loglife/unregister \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phone": "+15551234567"
}
'
{
  "removed": true,
  "existing": true,
  "removedUserIds": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

The API key configured in openclaw.json under plugins.entries.loglife.config.apiKey

Body

application/json
phone
string
required

Phone number in E.164 format

Example:

"+15551234567"

Response

Unregister result

removed
boolean
existing
boolean

False when no matching user exists

removedUserIds
string[]