# Add timestamp field to track when user accounts were blocked

**URL:** <https://community.auth0.com/t/add-timestamp-field-to-track-when-user-accounts-were-blocked/196526>\
**Category:** Product Feedback\
**Tags:** security, api\
**Created:** [January 23, 2026, 11:59am UTC](https://community.auth0.com/t/add-timestamp-field-to-track-when-user-accounts-were-blocked/196526 "2026-01-23T11:59:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marko.sidlovsky](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marko.sidlovsky/32/71118_2.png) [@marko.sidlovsky](https://community.auth0.com/u/marko.sidlovsky)\
**Post date:** [January 23, 2026, 11:59am UTC](https://community.auth0.com/t/add-timestamp-field-to-track-when-user-accounts-were-blocked/196526/1 "2026-01-23T11:59:20Z")

</div>

**Feature:** Add `blocked_at` timestamp field to User Management API

**Description:** The user object currently includes a `blocked` boolean field but lacks a corresponding timestamp to track when the blocking action occurred. We request adding a `blocked_at` field that stores an ISO 8601 timestamp.

Example of current user data:

json

```auto
{
  "user_id": "auth0|xxx",
  "blocked": true,
  "created_at": "2025-04-28T09:22:16.579Z",
  "updated_at": "2026-01-21T13:44:18.300Z"
  // Missing: blocked_at field
}

```

Expected behavior:

- `blocked_at`: ISO 8601 timestamp when user was blocked

- `null` when `blocked: false`

- Populated when `blocked: true`

**Use-case:** We’re building MAiDATA, a healthcare data analytics platform serving customers in pharmaceutical and healthcare sectors. We need comprehensive audit trails for compliance with healthcare regulations (GDPR, security standards). The `blocked_at` timestamp would enable us to:

- Maintain complete audit logs for security incident investigations

- Generate compliance reports showing exact timelines of account access changes

- Track and analyze account blocking patterns for security monitoring

- Meet regulatory requirements for user access lifecycle documentation

**Why existing timestamp fields are insufficient:** We cannot use `updated_at` or `last_login` as proxies for the blocking timestamp due to the following behavior we’ve observed and confirmed with documentation ([Auth.js | Auth0](https://authjs.dev/reference/core/providers/auth0)):

- When a blocked user attempts to login, the login fails (application doesn’t display) but Auth0 still records the attempt in the `last_login` field

- Any data update, including `last_login` updates, triggers an update to the `updated_at` timestamp

- This means `updated_at` on blocked users reflects their last login attempt, not when they were blocked

- Currently, we can only see `created_at` and the boolean `blocked` status, but have no way to determine when the blocking action actually occurred

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [February 27, 2026, 7:35pm UTC](https://community.auth0.com/t/add-timestamp-field-to-track-when-user-accounts-were-blocked/196526/3 "2026-02-27T19:35:38Z")

</div>

Hi there!

Thank you for submitting this feedback card, currently, there is an item in the backlog regarding implementing this element for the user data. Unfortunately, it does not have an ETA at this time.

Kind Regards,  
Nik
