delete https://api.split.io/internal/api/v2/users/[userId]
You can only delete pending users that have not accepted their invites yet. Once a user is active, you can only deactivate the user via a PUT request.
Access requirements
The Authorization Bearer (Admin API Key authorizing the request) must have one of the following roles and scopes:
Admin API Key roles accepted
- API_ALL_GRANTED
- API_ADMIN
Admin API Key scopes accepted
- GLOBAL
To learn more about Admin API Key roles and scopes, see API keys overview.