AtlassianPS / JiraPS

PowerShell module to interact with Atlassian JIRA
https://AtlassianPS.org/module/JiraPS
MIT License
325 stars 131 forks source link

Ability to remove site access #399

Open DavidHromyk opened 4 years ago

DavidHromyk commented 4 years ago

Context

There isn't a current way to remove a user from site access. This may be an existing feature request, but it would be awesome to have.

Our account removal process consists of "revoking site access" from users. I don't currently see a way to do this with JiraPS .

Description

It would be a great feature add to revoke site access.

Set-JiraUser would be extremely powerful if you could revoke a users site access as well as remove them from groups. The latter we are able to do already, but the users still seem to have site access regardless. This is in regards to Jira cloud and not Jira server.

DavidHromyk commented 4 years ago

Fwiw I've manually been using the Jira User API to make deactivation a thing for our users mixed in with the Jira PS module https://developer.atlassian.com/cloud/admin/user-management/rest/.