Hide data in /api/v4/users for non-admin-users

Hi!

is it possible to hide data from /api/v4/users for non-admin-users?

we dont want our regular users to get emails and other data of other site users?

Hello, @kseniyam

I would like to get more context on the data that you would like to hide from the non-admin users. Do you mean that you would like to disable normal users from using the Mattermost API?

Specific to this part, what do you mean by this? Would you like to disable notification emails and disable direct messages between users?

Do share more context on these questions so I can assist you better.

1 Like