Account
Account resource for user account operations and permissions.
SyncAccount
SyncAccount(client: SyncClient)
Bases: BaseResource['SyncClient']
Account resource for user account operations.
Methods:
-
get–Retrieve the current user's account information.
-
get_permissions–Retrieve the current user's permissions.
get
get() -> AccountResponse
Retrieve the current user's account information.
Returns:
-
AccountResponse(AccountResponse) –The current user's account details.
get_permissions
get_permissions() -> AccountPermissionResponse
Retrieve the current user's permissions.
Returns:
-
AccountPermissionResponse(AccountPermissionResponse) –The current user's permission details.
AsyncAccount
AsyncAccount(client: AsyncClient)
Bases: BaseResource['AsyncClient']
Async account resource for user account operations.
Methods:
-
get–Retrieve the current user's account information.
-
get_permissions–Retrieve the current user's permissions.
get
async
get() -> AccountResponse
Retrieve the current user's account information.
Returns:
-
AccountResponse(AccountResponse) –The current user's account details.
get_permissions
async
get_permissions() -> AccountPermissionResponse
Retrieve the current user's permissions.
Returns:
-
AccountPermissionResponse(AccountPermissionResponse) –The current user's permission details.
Request and response types: Account models.