Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

POST http://localhost:8090/rest/deactivateusers/1.0/utility/de-activate/user/{username}

Path Parameters:

  • username (String) - Jira username

Response: [Status: 200]

Code Block
$ curl -u"superadmin:superadmin" -XPOST -H "Content-Type:application/json" \
http://localhost:8090/rest/deactivateusers/1.0/utility/de-activate/user/prasadve
{"status":1,"message":"[Info] De-activated User - prasadve"}
$

...

POST http://localhost:8090/rest/deactivateusers/1.0/utility/re-activate/user/{username}

Path Parameters:

  • username (String) - Jira username

Response: [Status: 200]

Code Block
$ curl -u"superadmin:superadmin" -XPOST -H "Content-Type:application/json" \
http://localhost:8090/rest/deactivateusers/1.0/utility/reactivate/user/prasadve
{"status":1,"message":"[Info] Re-activated User - prasadve"}
$

...