User

Delete Expired Users

Delete cleanup-target users in the specified scope.

  • target: expired (time-based) or limited (usage-based)
  • expired_after UTC datetime (optional)
  • expired_before UTC datetime (optional)
  • Date range filters are applied only when target is expired
delete/api/users/expired

Query parameters

admin_usernamestring nullable
target'expired' | 'limited'
expired_afterstring date-time nullable
Example:2024-01-01T00:00:00+03:30
expired_beforestring date-time nullable
Example:2024-01-31T23:59:59+03:30

Response

Successful Response

usersstring[] required
countinteger required

Changes

No recorded changes to this endpoint across all 1 revision of this API.