In the past the API returned a user object with
suspended: true (or some non-null value) when a user was suspended. A recent change seems to break that behavior. Now,
suspended_at can be non-null while
suspended is null.
Here is an example snippet returned by the API:
This seems like a recent regression, since scripts that I wrote in August that relied on this behavior only recently stopped working properly. I’m on 1.9.0.beta12.