Summary
Get an individual account.
Description
Get an individual account
Route
GET /authorization/accounts/:accountId
Roles
admin
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
accountId |
string |
yes |
The id for the requested account. |
Copied to Clipboard
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
The individual account document. |
Copied to Clipboard
{
"provenance": "Local AAA",
"username": "john_doe",
"firstname": "John",
"memberOf": [
{
"aaaManaged": true,
"groupId": "5cb7b531d06cceb89fd21b1c"
}
],
"assignedRoles": [
{
"roleId": "5cb7b531d06cceb89fd21b1c"
},
{
"roleId": "5cb7b531d06cceb89fd21b1c"
},
{
"roleId": "5cb7b531d06cceb89fd21b1c"
},
{
"roleId": "5cb7b531d06cceb89fd21b1c"
},
{
"roleId": "5cb7b531d06cceb89fd21b1c"
}
],
"inactive": false,
"gitTokens": {
"GitHub": "consequat ea Lorem id cupidatat",
"GitLab": "in consectetur officia Ut anim"
},
"lastLogin": "2018-08-02T15:56:12.912Z",
"sso": false,
"nameID": "Lorem",
"_meta": {
"created": "2018-08-02T15:56:12.912Z",
"updated": "2018-08-02T15:56:12.912Z"
},
"email": "name@email.com",
"isServiceAccount": false,
"loggedIn": false
}