Cleanup Revoked
Purge revoked keys and delete tenant docs left with no keys.
Operator housekeeping for the Mission Control subscriber table:
- Hard-delete every API-key doc that has revoked_at set.
- Delete any tenant doc that, afterwards, has no remaining keys — UNLESS it is protected (main etc.) or still flagged is_admin (our infra agents, which may have no customer-issued key but must never vanish).
Pass {"dry_run": true} to preview what would be removed without writing.
post/admin/cleanup-revoked
Request
- Base URL: https://api.xdogtrading.com (the document declares no server; this is the origin it was published from)
- URL: https://api.xdogtrading.com/admin/cleanup-revoked
- Auth: none declared
Request body
object nullable required
Response
Successful Response
object required
Changes
No recorded changes to this operation across all 1 revision of this API.