AuthN User API Reference
Username parameters
- Non-email usernames have been implemented, so you may notice a
username
parameter which can be used instead ofid
oremail
in many of the API examples, including user, user/profile, and user/authenticators email
behaves the same as before, with the addition of being duplicated in theusername
field where necessary if not included in the request- Some choices expect an email value when
need_email
is returned, to ensure an email address (required) is defined when a non-emailusername
is used in the request
post/v2/client/userinfo
cURL
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/client/userinfo' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
200
Get User (client token)
POST
https://authn.aws.us.pangea.cloud/v2/client/userinfoRetrieve the logged in user's token and information.
post/v2/client/password/change
cURL
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/client/password/change' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
200
Change a user's password
POST
https://authn.aws.us.pangea.cloud/v2/client/password/changeChange a user's password given the current password.
post/v2/user/authenticators/delete
cURL
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/user/authenticators/delete' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
200
Delete user authenticator
POST
https://authn.aws.us.pangea.cloud/v2/user/authenticators/deleteDelete a user's authenticator.
post/v2/user/authenticators/list
cURL
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/user/authenticators/list' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
200
Get user authenticators
POST
https://authn.aws.us.pangea.cloud/v2/user/authenticators/listGet user's authenticators by identity or email.
post/v2/user/create
cURL
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/user/create' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
200
Create User
POST
https://authn.aws.us.pangea.cloud/v2/user/createCreate a user.
post/v2/user/delete
cURL
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/user/delete' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
200
Delete User
POST
https://authn.aws.us.pangea.cloud/v2/user/deleteDelete a user.
post/v2/user/list
cURL
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/user/list' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
200
List Users
POST
https://authn.aws.us.pangea.cloud/v2/user/listLook up users by scopes.
post/v2/user/password/expire
cURL
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/user/password/expire' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
200
Expire a user's password
POST
https://authn.aws.us.pangea.cloud/v2/user/password/expireThe next time the user logs in they must set a new password.
post/v2/user/profile/get
cURL
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/user/profile/get' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
200
Get user
POST
https://authn.aws.us.pangea.cloud/v2/user/profile/getGet user's information by identity or email.
post/v2/user/profile/update
cURL
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/user/profile/update' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
200
Update user
POST
https://authn.aws.us.pangea.cloud/v2/user/profile/updateUpdate user's information by identity or email.
post/v2/user/update
cURL
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/user/update' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
200
Update user's settings
POST
https://authn.aws.us.pangea.cloud/v2/user/updateUpdate user's settings.
post/v2/users/import
cURL
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/users/import' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
200
Importing User
POST
https://authn.aws.us.pangea.cloud/v2/users/importOne time user import from a given source.
post/v2/users/sources/upload
cURL
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/users/sources/upload' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: multipart/form-data'
Response
200
Upload a file to import users
POST
https://authn.aws.us.pangea.cloud/v2/users/sources/uploadUpload a file.
post/v2/users/import/get
cURL
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/users/import/get' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
200
Get user import data
POST
https://authn.aws.us.pangea.cloud/v2/users/import/getGet user import details
post/v2/users/import/list
cURL
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/users/import/list' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
200
Listing user import
POST
https://authn.aws.us.pangea.cloud/v2/users/import/listLookup active or past user import data
Was this article helpful?