Skip to main content

The authentication service generates a user token for a given scope.

Example

The example below shows how to generate a user token.

# <CORE_HOST>  FlowerDocs Core base URL

curl -X POST "<CORE_HOST>/rest/authentication" \
-H "Content-Type: application/json" \
-d '{
"password": "pwd",
"scope": "TEST",
"user": "user"
}'