enroll#

Autogenerated API

argus_api.lib.authentication.v1.enroll.activate_user_enrollment(userName: str = None, enrollmentCode: str = None, domain: str = None, json: bool = True, verify: Optional[bool] = None, proxies: Optional[dict] = None, apiKey: Optional[str] = None, authentication: Optional[dict] = None, server_url: Optional[str] = None, body: Optional[dict] = None, api_session: Optional[ArgusAPISession] = None) dict#

DEPRECATED: Use /enrollment instead. (DEV)

Parameters
  • userName (str) – Username for user to activate enrollment for

  • enrollmentCode (str) – Enrollment code

  • domain (str) – Domain id or name for the domain to lookup user in. Typically set by UI client

  • json – return the response’s body as a dict parsed from json. True by default. If set to false, the raw requests.Response object will be returned.

  • verify – path to a certificate bundle or boolean indicating whether SSL verification should be performed.

  • apiKey – Argus API key.

  • authentication – authentication override

  • server_url – API base URL override

  • body – body of the request. other parameters will override keys defined in the body.

  • api_session – session to use for this request. If not set, the global session will be used.

Raises
  • EnrollmentCodeExpiredException – on 408

  • InvalidArgumentException – on 412

  • ArgusException – on other status codes

Returns

dictionary translated from JSON

argus_api.lib.authentication.v1.enroll.authenticate_user_enrollment(userID: int = None, verificationCode: str = None, activationCookie: str = None, json: bool = True, verify: Optional[bool] = None, proxies: Optional[dict] = None, apiKey: Optional[str] = None, authentication: Optional[dict] = None, server_url: Optional[str] = None, body: Optional[dict] = None, api_session: Optional[ArgusAPISession] = None) dict#

DEPRECATED: use /enrollment/authentication instead (DEV)

Parameters
  • userID (int) – Username for user to verify enrollment for

  • verificationCode (str) – Verification code

  • activationCookie (str) – The activation cookie received in the activation step

  • json – return the response’s body as a dict parsed from json. True by default. If set to false, the raw requests.Response object will be returned.

  • verify – path to a certificate bundle or boolean indicating whether SSL verification should be performed.

  • apiKey – Argus API key.

  • authentication – authentication override

  • server_url – API base URL override

  • body – body of the request. other parameters will override keys defined in the body.

  • api_session – session to use for this request. If not set, the global session will be used.

Raises
  • AuthenticationFailedException – on 401

  • EnrollmentCodeExpiredException – on 408

  • EnrollmentVerificationCodeExpiredException – on 410

  • InvalidArgumentException – on 412

  • ArgusException – on other status codes

Returns

dictionary translated from JSON