# User resource doesn't match the schema

**URL:** <https://community.auth0.com/t/user-resource-doesnt-match-the-schema/68580>\
**Category:** Get Help\
**Tags:** users, schema, management-api\
**Created:** [August 26, 2021, 6:55am UTC](https://community.auth0.com/t/user-resource-doesnt-match-the-schema/68580 "2021-08-26T06:55:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sazzer](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sazzer/32/27418_2.png) [@sazzer](https://community.auth0.com/u/sazzer)\
**Post date:** [August 26, 2021, 6:55am UTC](https://community.auth0.com/t/user-resource-doesnt-match-the-schema/68580/1 "2021-08-26T06:55:33Z")

</div>

I asked about the schemas for the management API - and about which fields are mandatory - a while ago, but have since gotten distracted and only just come back.

Looking at the [schema](https://auth0.com/docs/api/management/v2#!/Users/get_users) it doesn’t actually match the real data that is coming back from the API. ☹ And this goes both ways.

There are fields in the schema that don’t always appear in the response, but that’s fine because everything is marked as optional so you’ve got to assume that. And I suspect that actually, they all will appear in the correct circumstances.

However, there are also fields that are in the response that don’t appear in the schema. For example:

- `last_password_reset`
- `blocked_for` (Though the schema does list `blocked`)
- `guardian_authenticators`

Does anyone have a more accurate schema for the APIs that can be more relied upon?

Cheers

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [August 26, 2021, 5:02pm UTC](https://community.auth0.com/t/user-resource-doesnt-match-the-schema/68580/3 "2021-08-26T17:02:56Z")

</div>

Hi again @sazzer 😃

I’ll report this to our docs team and see if there is a more accurate schema. Thanks for the feedback!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [October 13, 2021, 6:41pm UTC](https://community.auth0.com/t/user-resource-doesnt-match-the-schema/68580/5 "2021-10-13T18:41:29Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
