Preventing user API keys from being created

Preventing user API keys from being created

This question has suggested answer(s)

Hi,

Is there a way in preventing "normal" users from generating API keys? At the moment every user is able to generate an API key.

What I have done and it seems to work, is to create an URL override for that link, to just go to the same "user settings" page.

The only problem is that it is doing this for all users, even admin, so it could be a last resort from hiding this functionality AFTER I have created an admin API key.

Any other suggestions??

Cheers,

Renier

All Replies
  • I would suggest editing the widget to hide/disable the link to create an API key.

    In Widget Studio you would want to edit the "Edit User" widget and locate the link for creating the API key. You also might want to edit the "Create API Key" widget and apply similar logic.