SAP Sponsorships Engine Security Webservices API

URL: /api/restsecurity/create_user

Description:

The service creates a user object.


Request Method: POST
Output format: a JSON document of the following format, documenting the successful creation of the user object
{"username":"abc","access_token":"gISIhDNIFoXEVxzefrKUcXYOFKwBfq1xDPfv4wQdDjA="}
Mandatory parameters (preferred are form parameters in the POST request's body, but all can also be passed as query parameters where this is naturally discouraged specifically for the password parameter!):
username
email
password
fullName
company
Example: curl -X PUT "http://127.0.0.1:8888/security/api/restsecurity/user?username=uhl&email=axel.uhl@sap.com&password=abcabc&fullName=Axel%20Uhl&company=SAP%20SE"
Will provide a JSON document as explained above.
Request Method: PUT
Output format: a JSON document of the following format, documenting the successful creation of the user object
{"username":"abc","access_token":"gISIhDNIFoXEVxzefrKUcXYOFKwBfq1xDPfv4wQdDjA="}
Mandatory parameters:
username
email
password
fullName
company
Example: curl -X PUT "http://127.0.0.1:8888/security/api/restsecurity/user?username=uhl&email=axel.uhl@sap.com&password=abcabc&fullName=Axel%20Uhl&company=SAP%20SE"
Will provide a JSON document as explained above.
Request Method: PUT
Output format: a JSON document of the following format, documenting the successful creation of the user object
{"username":"abc","access_token":"gISIhDNIFoXEVxzefrKUcXYOFKwBfq1xDPfv4wQdDjA="}
Mandatory parameters:
username
email
password
fullName
company
Example: curl -X PUT "http://127.0.0.1:8888/security/api/restsecurity/user?username=uhl&email=axel.uhl@sap.com&password=abcabc&fullName=Axel%20Uhl&company=SAP%20SE"
Will provide a JSON document as explained above.
Request Method: DELETE
Output format: An Empty response with status code 200 in case of success; error-indicating status codes otherwise
Mandatory parameters:
username
Example: curl -X DELETE "http://127.0.0.1:8888/security/api/restsecurity/user?username=uhl"