Versions Compared

Key

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

...

Code Block
HTTP/1.1 204 No Content

Note:   Session token is required in request header.

...

Get Secret Key for HMAC Authentication

Code Block
POSTGET https://auth-staging.sagebase.org/auth/v1/secretKey
{"email":"demouser@sagebase.org"}

Successful Response:

Code Block
HTTP/1.1 201200 {"secretKey":"0Ocy/cW/3WIdZg3Up9dguO4Kh5smBKpN7iWXAvVQqekGD3gT4nc7PWwlfOhcL+KW6W4PjXtgPQNhiP7yrwjfwQ=="}

Note: Session token is required in request header.

Invalidate Secret Key

Code Block

DELETE https://auth-staging.sagebase.org/auth/v1/secretKey
{"email":"demouser@sagebase.org"}

Successful Response:

Code Block

HTTP/1.1 204  No Content

Note:   Session token is required in request header.

...