Missing User Attributes?

The docs show the /api/v2/users endpoint returning a “blocked” attribute:

    "last_ip": "",
    "last_login": "",
    "logins_count": 0,
    "blocked": false,
    "given_name": "",
    "family_name": ""

… but when I request the list of users from the endpoint I don’t get that attribute back in the response:


Am I doing something wrong here?

1 Like

Hi @dylanz,

I just tested it. If the user is blocked the attribute will show up as true, if they are not blocked, it will be undefined unless they have been previously blocked and then later unblocked and the attr is set to false.

Hope this helps,

1 Like

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