How to UN-register an API client?

Situation

I was able to register my API Client like this: curl -X POST -k -H ‘Content-Type: application/json’ -i ‘https://my-server/oauth2/default/registration’ --data ‘{…}’
Cool!

Now, how can I UN-register API Clients that I’ve registered - that is, unregister the API clients I see in the list when I browse to Admin->System->API Clients ?

OpenEMR Version

I’m using OpenEMR version 7.0.2

Browser:

I’m using: Brave, Firefox, and Chromium

Operating System

I’m using: Debian

Search

Did you search the forum for similar questions? Yes.

Logs

  • Did you check the logs? N/A - I’m not getting errors, I just don’t see how to unregister API clients

  • Was there anything pertinent in them? N/A as explained above

  • Please paste them here (surround with three backticks (```) for readability. - N/A as explained above

  • You can also turn on User Debugging under Administration->Globals->Logging User Debugging Options=>All - yes, but N/A for the same reasons given above

hi @emintz , you can disable the client under the menu item Admin->System->Api Clients by editing the client

Thanks for the reply. I’d found where I can disable an API Client by editing it (like you show), but that didn’t remove it from the list of API Clients.

You could manually delete it from the oauth_clients table if necessary then.

1 Like

Perfect!! Thanks again for the response.