User Sessions

RealCADENCE™ Enterprise Action Management system has some complexities. Interacting with SKI based APIs can make the job easy and automated.

POST   users/auth

Returns a session token that is used for session-based APIs.

Example
curl --request POST \
  --url https://hostname/users/auth \
  --header 'content-type: application/x-www-form-urlencoded' \
  --data username=joe.user \
  --data password=[your passphrase hash] \
  --data method=2
username “joe.user”
password Depending on method, a character string representing user’s passphrase
method 2 = hash of user’s passphrase (recommended); 1 = clear text passphrase
format (optional) json | xml

DELETE   users/auth

Immediately terminates a session token.

Example
curl --request DELETE \
  --url https://hostname/users/auth \
  --header 'content-type: application/json' \
  --header 'x-auth-token: 987654321' \
  --header 'x-auth-user: randy'
x-auth-user “joe.user”
x-auth-token Session token

GET   user/me

Returns a Logged In users data.

Example
curl --request GET \
      --url https://hostname/user/me \
      --header 'content-type: application/json' \
      --header 'x-auth-token: 555-555-1212' \
      --header 'x-auth-user: joe.user' \
      
x-auth-user “joe.user”
x-auth-token Session token