Disable SwaggerHub User
User Management for SwaggerHub
This guide documents removing users from your SwaggerHub Organization using their API. This allows you to remove users from your organization with a custom action in a Torii workflow. The SwaggerHub documentation on the topic can be found on the Smartbear support site [here](Remove users from an organization).
To use this action you will first need to get your SwaggerHub API key. Details on where that can be found are in this support article from the Smartbear support site.
Custom Action Configuration - Delete User from SwaggerHub Organization
Method : DELETE
URL : https://api.swaggerhub.com/user-management/v1/orgs/YOUR_ORG_NAME/members
Query Parameters
Parameter | Variable Mapping |
---|---|
user | [Trigger.User.Email] |
Headers
Header | Value |
---|---|
Content-Type | application/json |
Accept | / |
Authorization | Bearer [SecretsVault.Swagger_API_Key] |
Updated 2 months ago