Skip to content
v0.3

operator.verify_otp

Verify an operator login code → activate the operator (first login) + a fresh personal session token (once).

  • Scope: operator.session.mint
  • System: no
  • Reachable from: POST /v1/commands/operator.verify_otp (tenant credential) · MCP tool operator.verify_otp · SDK client.call('operator.verify_otp', …)
  • Events: admin_user.activated
{
"properties": {
"code": {
"minLength": 1,
"type": "string"
},
"email": {
"format": "email",
"pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"type": "string"
}
},
"required": [
"email",
"code"
],
"type": "object"
}
{
"additionalProperties": false,
"properties": {
"admin_user_id": {
"type": "string"
},
"expires_at": {
"type": "string"
},
"token": {
"type": "string"
}
},
"required": [
"admin_user_id",
"token",
"expires_at"
],
"type": "object"
}

validation_failed (400) · unauthorized (401) · forbidden (403) · conflict (409) · internal (500)