The REST API provides the following methods for managing the web service user store:
PUT /admin/webservices/users
URI |
|
---|---|
Description |
Clears the existing web service user store and loads the provided one. |
Request Header |
|
|
|
Request Parameter |
|
Request Body | The content of the web service user store in XML format: <WebServicesUserStore version="5"> <passwordStorageTechnique>STORE_HASHED_PASSWORDS</passwordStorageTechnique> <user> <id>0</id> <name>b1</name> <password/> </user> <user> <id>1</id> <name>b2</name> <password isVariable="true">$(bingpwd)</password> </user> <user> <id>2</id> <name>b3</name> <password isVariable="true">$(bingpwd)</password> <certificateAlias>rest</certificateAlias> </user> <user> <id>3</id> <name>b3</name> <password></password> </user> <user> <id>4</id> <name>b4</name> <password>ToraTora</password> </user> </WebServicesUserStore> |
Response Status |
|
Response Body | Empty. |
Access Rights |
'Load web services users REST API.' |
GET /admin/webservices/users
URI |
|
---|---|
Description |
Returns the web service user store with the passwords omitted. |
Request Header |
|
|
|
Request Body |
Empty. |
Response Status |
|
Response Body |
<WebServicesUserStore version="5"> <passwordStorageTechnique>STORE_ENCRYPTED_PASSWORDS</passwordStorageTechnique> <user> <id>0</id> <name>anna</name> <password isVariable="true">$(a)</password> </user> <user> <id>1</id> <name>bob</name> <password/> </user> <user> <id>2</id> <name>sally</name> <password/> </user> </WebServicesUserStore> |
Access Rights |
'Save web services users REST API.' |