...
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:\> |
...
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 |
---|
| |
---|
colour | Blue |
---|
title | LEgacy 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 |
---|
| |
---|
colour | Blue |
---|
title | Remove Defined Groups for User |
---|
|
...