Versions Compared

Key

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

...

Code Block
$ curl -u"superadmin:superadmin" -XPOST -H "Content-Type:application/json" --data "['confluence-users']" \
http://localhost:8090/rest/deactivateusers/1.0/utility/deactivate/user/mamathavm4
{"status":1,"message":"[Info] De-activated User - mamathavm4"}
C:\>

Status
colourBlue
title

...

run User De-Activation from CLI

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

...

Code Block
$ curl -u"user:password" -XPOST -H "Content-Type:application/json" \
http://localhost:8090/rest/deactivateusers/1.0/utility/run/userdeactivation 
{"status":0,"message":"Users Updated - 0/2. Took 0.178 Seconds"}
$

Status
colourBlue
titleLEgacy run User De-Activation from CLI

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

Response: [Status: 200]

Code Block
$ curl -u"user:password" -XPOST -H "Content-Type:application/json" \
http://localhost:8090/rest/deactivateusers/1.0/utility/legacyrun/userdeactivation 
{"status":0,"message":"Users Updated - 0/2. Took 0.178 Seconds"}
$

Note:

  • This legacy user deactivation processes all the users in confluence (irrespective of directories) but remote directory as default configured processing directory.

Status
colourBlue
titleRemove Defined Groups for User

...