Summary
Get an account from Local AAA instance.
Description
Get an account from Local AAA instance in IAP.
Route
GET /user-management/accounts/:accountId
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
accountId |
string |
yes |
The unique identifier for an account. |
Copied to Clipboard
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
Contains the data for a single account. |
Copied to Clipboard
{
"_id": "5dd2cdab94410956f3ecbc79",
"provenance": "Local AAA",
"username": "john_doe",
"firstname": "john",
"memberOf": [
{
"groupId": "5dd2cdab94410956f3ecbc79",
"aaaManaged": true
},
{
"groupId": "5dd2cdab94410956f3ecbc79",
"aaaManaged": true
}
],
"lastLogin": "2020-10-26T15:17:17.582Z",
"inactive": false,
"_meta": {
"created": "2020-10-26T15:17:17.582Z",
"updated": "2020-10-26T15:17:17.582Z"
}
}
Copied to Clipboard
{
"title": "result",
"type": "object",
"properties": {
"_id": {
"type": "string",
"examples": [
"5dd2cdab94410956f3ecbc79"
]
},
"provenance": {
"type": "string",
"examples": [
"Local AAA"
]
},
"username": {
"type": "string",
"examples": [
"john_doe"
]
},
"firstname": {
"type": "string",
"examples": [
"john"
]
},
"memberOf": {
"type": "array",
"items": {
"type": "object",
"properties": {
"groupId": {
"type": "string",
"examples": [
"5dd2cdab94410956f3ecbc79"
]
},
"aaaManaged": {
"type": "boolean",
"enum": [
true
]
}
}
}
},
"lastLogin": {
"type": "string",
"examples": [
"2020-10-26T15:17:17.582Z"
]
},
"inactive": {
"type": "boolean",
"enum": [
true,
false
]
},
"_meta": {
"type": "object",
"properties": {
"created": {
"type": "string",
"examples": [
"2020-10-26T15:17:17.582Z"
]
},
"updated": {
"type": "string",
"examples": [
"2020-10-26T15:17:17.582Z"
]
}
}
}
}
}