Versions Compared

Key

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

...

Code Block
$ curl -u superadmin -XPOST -H "Content-Type:application/json" \
"http://localhost:8090/rest/deactivateusers/1.0/utility/update/user/prasadvecroadmin/? \
newEmail=prasadvetest@noreplycroadmin@noreply.com"
{"status":1,"message":"[Info] Updated User attributes ~ prasadvecroadmin"}
$



Info

De-activate Users

...

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

Status
colourBlue
titleDe-Activate User (Advance)

...

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

Status
colourBlue
titleRe-Activate User (Advance)

...

Code Block
$ curl -u"user:password" -XPOST -H "Content-Type:application/json" \
--data "['confluence-users']" \
http://localhost:8090/rest/deactivateusers/1.0/utility/removegroups/user/prasadvecroadmin
{"status":1,"message":"[Info] Removed User Groups."}
$

...

Code Block
$ curl -u"user:password" -XPOST -H "Content-Type:application/json" \
http://localhost:8090/rest/deactivateusers/1.0/utility/removeallgroups/user/prasadvecroadmin
{"status":1,"message":"[Info] Removed User Groups."}
$

...