Re-Activate a suspended User via API

I might be wrong, but I didn’t find anything here related to how to reactivate a previously suspended user, using APIs.

I’ve successfully suspended a user because the subscription to a service they purchased is ended.

But since they are able to return and restore their previous user, is there a way to reactivate them without creating a brand new account, using APIs and not just manually?

Thanks everybody

I’ve actually found this in the api codebase.

Why it is not documented?

2 Likes

If you ever have trouble trying to figure out what API call to make to perform a specific action, give the method that is outlined here a try: How to reverse engineer the Discourse API.

1 Like

A post was split to a new topic: How to suspend a user on discourse and from the rest of the ecosystem?