I am using openfire 4.2.1 version.I want list of groups in which I am member by using openfire rest api.
Check that: https://www.igniterealtime.org/projects/openfire/plugins/restapi/readme.html#retrieve-all-user-groups
Endpoint to get group names of a specific user
GET /users/{username}/groups