APIs to onboard and manage users.
curl -i -X PUT \
'https://apis.spotnana.com/v2/users/4974a66b-7493-4f41-908c-58ba81093947/external-id?includeInactive=true' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"externalId": "user-1"
}'
curl -i -X POST \
https://apis.spotnana.com/v2/users/4974a66b-7493-4f41-908c-58ba81093947/activate \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
curl -i -X GET \
https://apis.spotnana.com/v2/users/4974a66b-7493-4f41-908c-58ba81093947/applicable-policies \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "policies": [ { … } ] }