4.6.7. Initial signup

API for performing initial signup.

class axonius_api_client.api.system.signup.Signup(url, **kwargs)[source]

Bases: object

API for performing initial signup.

Examples

property is_signed_up

Check if initial signup has been done.

Examples

>>> signup = axonius_api_client.Signup(url="10.20.0.61")
>>> signup.is_signed_up
True
Return type

bool

signup(password, company_name, contact_email)[source]

Perform the initial signup and get the API key and API secret of admin user.

Examples

>>> signup = axonius_api_client.Signup(url="10.20.0.61")
>>> data = signup.signup(
...     password="demo", company_name="Axonius", contact_email="jim@axonius.com"
... )
>>> data
{'api_key': 'xxxx', 'api_secret': 'xxxx'}
Parameters
  • password (str) – password for admin user

  • company_name (str) – name of company

  • contact_email (str) – email address of company contact

Return type

dict

use_password_reset_token(token, password)[source]

Use a password token reset link to change a users password.

Parameters
  • token (str) – password reset token

  • password (str) – password to set

Return type

str

Returns

name of user whose password was reset

_signup_get()[source]

Direct API method to get the status of initial signup.

Return type

dict

_tokens_reset(token, password)[source]

Direct API method to use a reset token to change a password.

Parameters
  • token (str) – password reset token

  • password (str) – password to set

Return type

dict

_signup_post(password, company_name, contact_email)[source]

Direct API method to do the initial signup.

Parameters
  • password (str) – password to set to admin user

  • company_name (str) – company name

  • contact_email (str) – contact email

Return type

dict

property router

Router for this API model.

Return type

axonius_api_client.api.routers.Router

__init__(url, **kwargs)[source]

Provide an API for performing initial signup.

Parameters