🔓GET - Password Generate

my_api.get.password_generate()

Generates a single passwords following the groups rules.

Parameters

  • service_provider_id (str): Service Provider ID where Group is located.

  • group_id (str): Group ID to generate password for.

Returns

  • dict: Single password generated according to the groups rules..

How To Use:

from odins_spear import api

my_api= api.Api(base_url="https://base_url/api/vx", username="john.smith", password="ODIN_INSTANCE_1")
my_api.authenticate()

my_api.get.password_generate(
    "serviceProviderId",
    "groupID",
)

Example Returned Data of SIP Passwords (Formatted)

{
  "password": "?+^8RZ40MeC3+:i.BQ"
}

Last updated