Retrieve info about a user
GET https://{controlplane_path}/api/1/rest/public/users/{email}
Retrieves the user account associated with the specified email address. Environment admins can also view details of single users or download information about all user accounts from Admin Manager.
Prerequisites
- Environment (Org) admin permissions
Path parameters
| Key | Description |
|---|---|
email |
Required. The email address of the user. |
Query parameters
None.
Request body
None.
Note:
The results include only the user information that you have permissions to view.
Response body
{
"email": "...",
"first_name": "...",
"last_name": "...",
"allow_password_login": true,
"organizations": [
{
"id": "...",
"name": "...",
"administrator": true
},
...
],
"created_by": "...",
"password_expired": false,
"ui_access": true,
"password_last_updated": "...",
"user_locked_out": false,
"service_account": false,
"failed_logins": ...,
"basic_access": "..."",
"maintainers": {
"/": []
},
"managed": false
}
| Key | Type | Description |
|---|---|---|
last_name |
string | The last name of the user. |
first_name |
string | The first name of the user. |
password_last_updated |
string | When the user's password was last changed. Format: UTC |
password_expired |
Boolean | If true, the user's password is expired. |
allow_password_login |
Boolean | |
organizations |
array | An array of objects containing information about the Environments/Orgs that
the user belongs to. Each object contains name and
id of the environment (Org) and a Boolean
(administrator) that indicates whether the user is assigned the
administrator role in the Environment/Org. |
basic_access |
string | Format: UTC |
ui_access |
Boolean | If true, the user can use the SnapLogic UI.
|
user_locked_out |
Boolean | If true, the user is denied access to the Snaplex.
|
service_account |
Boolean | |
failed_logins |
integer | The number of login attempts that failed. |
email |
string | The user's email address. |
maintainers |
list | A list of email addresses that receive the reset password link for a managed account. |
managed |
Boolean | If true, the user is a Team account managed by
maintainers. |
created_by |
string | Email address of the user who created the account. |
Example
Response
{
"email": "[email protected]",
"first_name": "test",
"last_name": "user",
"allow_password_login": true,
"organizations": [
{
"id": "test",
"name": "test",
"administrator": false
}
],
"created_by": "[email protected]",
"password_expired": false,
"ui_access": true,
"password_last_updated": "test",
"user_locked_out": false,
"service_account": false,
"failed_logins": 2,
"basic_access": "test",
"maintainers": {
"/": []
},
"managed": false
}