Can we toggle anonymous mode via API

Is there a way we can toggle anonymous mode via api or we can create anonymous user via api ?

Also is there any api that i can use to know to which user exactly this anonymous user belongs to?

You can do anything via the API that you can do in your browser. See How to reverse engineer the Discourse API.

The above holds. I think that it’s a bit hard to figure out who anonymous users are and I think that maybe you can’t do it from the UX?

1 Like