Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 1.65 KB

UsersApi.md

File metadata and controls

61 lines (41 loc) · 1.65 KB

TelstraTPN.UsersApi

All URIs are relative to https://penapi.pacnetconnect.com

Method HTTP request Description
account_user GET /1.0.0/account/{customeruuid}/user List users

account_user

list[User] account_user(customeruuid)

List users

List all users associated with the specified customer

Example

from __future__ import print_function
import time
import TelstraTPN
from TelstraTPN.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: oAuth2
configuration = TelstraTPN.Configuration()
configuration.access_token = 'YOUR_ACCESS_TOKEN'

# create an instance of the API class
api_instance = TelstraTPN.UsersApi(TelstraTPN.ApiClient(configuration))
customeruuid = 'customeruuid_example' # str | Unique identifier representing a specific customer

try:
    # List users
    api_response = api_instance.account_user(customeruuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UsersApi->account_user: %s\n" % e)

Parameters

Name Type Description Notes
customeruuid str Unique identifier representing a specific customer

Return type

list[User]

Authorization

oAuth2

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]