Versions Compared

Key

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

Create a user

To create a user with the REST-interface using curl on the command line:

...

Code Block
  "resources" : [
	"ws-target-resource-1"
	]

Export database content

Panel

curl -u admin:password -o content.xml http://localhost:9080/syncope/rest/configuration/dbexport.html

Change configuration value

Panel

curl -u admin:password -H "Content-Type: application/json" \
-d '{"key":"smtp.host","value":"smtp.ngi.it"}' http://localhost:9080/syncope/rest/configuration/update.json