jdediego
2 years agoNew Contributor
Delete SwaggerHub 2.x users using the user-management API
Hi all, We need to remove SwaggerHub users using the user management API, using SwaggerHub v2.x. (2.4.1+118) The API documentation (https://app.swaggerhub.com/apis-docs/swagger-hub/user-management...
- 2 years ago
In the on-premise User Management API there is a path “/users” that supports a DELETE method.
“Deletes the specified users from the On-Premise system by email address. The authenticating user must be the On-Premise admin. Deleting the last owner of an organization will result in the organization also being deleted.”
This call removes a User from all on-premise organizations and returns the license seat to the available pool.
Removing a User with /orgs/{orgId}/members does not remove the user from the on-premise instance.