AlphaAlpha Docs

Admin Users

Administrative operations for user management

Find orphaned users

GET
/admin/users/orphaned
AuthorizationBearer <token>

In: header

Response Body

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"
}

Clean orphaned users

DELETE
/admin/users/orphaned
AuthorizationBearer <token>

In: header

Query Parameters

dryRun?boolean
Defaulttrue

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "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"
}