Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

GET DE-ACTIVATED USERS

GET http://localhost:8090/rest/deactivateusers/1.0/utility/list/deactiveusers

Response: [Status: 200]

DE-ACTIVATE USER

POST http://localhost:8090/rest/deactivateusers/1.0/utility/deactivate/user/{username}

Path Parameters:

  • username (String) - Jira username

Data Fields:

  • groups e.g. ["group1", "group2"]

Response: [Status: 200]

TRIGGER USER DE-ACTIVATION FROM CLI

POST http://localhost:8090/rest/deactivateusers/1.0/utility/run/userdeactivation

Response: [Status: 200]

REMOVE DEFINED GROUPS FOR USER

POST http://localhost:8090/rest/deactivateusers/1.0/utility/removegroups/user/{username}

Path Parameters:

  • username (String) - Jira username

Data Fields:

  • groups e.g. ["group1", "group2"]

Response: [Status: 200]

REMOVE ALL GROUPS FOR USER

POST http://localhost:8090/rest/deactivateusers/1.0/utility/removeallgroups/user/{username}

Path Parameters:

  • username (String) - Jira username

Response: [Status: 200]

GET ACTIVE USERS NEVER LOGIN CREATED BEFORE N DAYS

GET http://localhost:8090/rest/deactivateusers/1.0/utility/list/neverlogin/users/create/before/{days}

Path Parameters:

  • days (Number) - Days

Response: [Status: 200]

GET ACTIVE USERS NOT ACTIVE LAST N DAYS

GET http://localhost:8090/rest/deactivateusers/1.0/utility/list/notactive/users/last/{days}

Path Parameters:

  • days (Number) - Days

Response: [Status: 200]

RE-ACTIVATE USER

POST http://localhost:8090/rest/deactivateusers/1.0/utility/reactivate/user/{username}

Path Parameters:

  • username (String) - Jira username

Data Fields:

  • groups e.g. ["group1", "group2"]

Response: [Status: 200]

  • No labels