Difference between active and approved

what is the difference between active and approved parameters in the following api call? what do they do?

https://docs.discourse.org/#tag/Users/paths/~1users/post

1 Like

Active is whether the user has activated their email. You should only set active to true if you’ve already validated the email previously.
Approved only applies on sites where the must approve users site setting is enabled. If must approve users is enabled, setting this to true will be as if site staff approved the user in the review queue. If set to false, the user will be placed into the review queue for staff approval.

5 Likes