Get an individual account
GET
http://localhost:3000/authorization/accounts/:accountId
Returns an individual account.
Authentication
AuthorizationBasic
Basic authentication of the form Basic <base64(username:password)>.
Path parameters
accountIdstringRequired
format: "^[0-9a-f]{24}$"The id for the requested account.
Response
The individual account document.
provenancestring
AAA provider where account originated
usernamestring
Username for account
firstnamestring
The user's first name
memberOflist of objects
Groups which this account is a part of
assignedRoleslist of objects
Roles assigned to this account
inactiveboolean
Setting for whether account is active or not
gitTokensobject
Tokens used when interacting with Git APIs and features
lastLoginstring
Date and time when the user last logged in
ssoboolean
Whether this is an SSO user
nameIDstring
DEPRECATED: Identifier for SSO account.
_metaobject
emailstring
Email for user
isServiceAccountboolean
Value denoting if an account does not reflect a human user
loggedInboolean
Property used in the getAccounts API to indicate a user is currently logged in
Errors
500
Internal Server Error