Bulk delete sentinel activities

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://openapi.logto.io/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Logto API references MCP server": {
    "url": "https://openapi.logto.io/mcp"
  }
}

Close
POST /api/sentinel-activities/delete

Remove sentinel activity reports based on the provided target value (identifier or user ID). Use this endpoint to unblock users who may be locked out due to too many failed authentication or security verification attempts. Password and email/phone code lockouts are keyed by the identifier (email address, phone number, or username); TOTP, WebAuthn, and backup code lockouts are keyed by user ID.

application/json

Body Required

  • targetType string Required

    Values are User or App.

  • targets array[string] Required

Responses

  • 204

    Activities deleted successfully.

  • 400

    Bad Request

  • 401

    Unauthorized

  • 403

    Forbidden

POST /api/sentinel-activities/delete
curl \
 --request POST 'https://[tenant_id].logto.app/api/sentinel-activities/delete' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{
  "targetType": "User",
  "targets": [
    "string"
  ]
}'
Request examples
{
  "targetType": "User",
  "targets": [
    "string"
  ]
}