import osfrom scale_gp import SGPClientclient = SGPClient( api_key=os.environ.get("SGP_API_KEY"), # This is the default and can be omitted)create_account_response = client.accounts.create( account_name="account_name",)print(create_account_response.account_id)
{ "account_id": "<string>"}
Accounts
Create account
Create a new account that with yourself as the admin.
POST
/
accounts
Python
import osfrom scale_gp import SGPClientclient = SGPClient( api_key=os.environ.get("SGP_API_KEY"), # This is the default and can be omitted)create_account_response = client.accounts.create( account_name="account_name",)print(create_account_response.account_id)