How to remove multiple users from the organization using api

Hi there i wanted to remove multiple users from the organization using Github api in postman could you help me with it

:wave: @mukeshmsp96 , welcome to the GitHub Community Forum! While I can’t speak to making requests to Postman, here’s an example DELETE request that removes an organization member using curl:

# replace `:org` and `:username` with the appropriate values
curl --verbose -X DELETE https://api.github.com/orgs/:org/members/:username

I’ll step back here to see if others can chime in on doing this in the Postman app. :v:

1 Like