praveen12
4 months agoNew Contributor
SwaggerHub InActive User Deletion
Hello Community,
I am using SwaggerHub 2.x embedded cluster mode application. For deleting the InActive users (no role assigned users, mapped with "-" in user_list command output ), from the application, I am referring the onprem user management API to delete Users by emailId from the Application.
User Deletion API URL - https://<swaggerhub-host>api/user-management/v1/users?user=
To invoke this endpoint, I need an user who is part of super-user list. So should I user the "Admin" user for this?. If yes, then how can I generate the API key for Admin user, which will be used as Authorization header while invoking Delete APi URL.
Note - I use Admin user to login the Swagger Admin dashboard console only.
Regards,
Praveen Nagle