api.account.get_profile
GET /account/profile— ACPortal
Python
api.account.get_profile() -> AccountProfile
CLI
ab account get_profile
GET /account/profile — the authenticated user’s account profile.
Returns the profile of whoever the client’s token belongs to (user name, email, company, contact id, roles).
Response model: AccountProfile
Response
Returns AccountProfile.
Field |
Type |
Required |
Description |
|---|---|---|---|
|
|
no |
Login user name |
|
|
no |
Account email address |
|
|
no |
Company UUID |
|
|
no |
Contact ID |
|
|
no |
Role names assigned to the user |