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
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/client/userinfo' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
Get current user | Client token
Retrieve the logged in user's token and information.
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
Change password | Client token
Change a user's password given the current password.
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
Delete user authenticator
Delete a user's authenticator.
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
List user authenticators
Get user's authenticators by identity or email.
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/user/create' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
Create user
Create a user.
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/user/delete' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
Delete user
Delete a user.
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/user/list' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
List users
Look up users by scopes.
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
Expire user password
The next time the user logs in they must set a new password.
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
Get user
Get user's information by identity or email.
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
Update user
Update user's information by identity or email.
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/user/update' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
Update user settings
Update user's settings.
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/users/import' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
Import user
One time user import from a given source.
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
Import users from file
Upload a file.
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
Get import details
Get user import details
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
List imports
Lookup active or past user import data
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/user/group/assign' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
Assign user to groups
Add a list of groups to a specified user
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/user/group/remove' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
Unassign user group
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/user/group/list' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
List groups for user
Return a list of ids for groups assigned to a user
Was this article helpful?