AlphaAlpha Docs
API ReferenceAdmin users

Find orphaned users

Finds users with tenant memberships pointing to non-existent tenants. Super Admin only.

GET
/admin/users/orphaned
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/admin/users/orphaned"
{
  "orphanedCount": 0,
  "orphanedUsers": [
    {
      "activeMemberships": 0,
      "cleaned": true,
      "email": "string",
      "firstName": "string",
      "lastName": "string",
      "orphanedTenantIds": [
        "string"
      ],
      "totalMemberships": 0,
      "userId": "string"
    }
  ],
  "totalUsers": 0
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}