🟢PUT - Group Hunt Groups Status

my_api.put.group_hunt_groups_status()

Updates a list of Hunt Groups (HG) status to either active or inactive.

Parameters

  • service_user_ids (list): List of service user IDs of target HGs.

  • status (bool, optional): Status to apply to target HGs. Defaults to True.

Returns

  • None: This method does not return any specific value.

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_hunt_group_user_ids= [
    "hunt_group1@domain.com",
    "hunt_group2@domain.com"
]

my_api.put.group_hunt_groups_status(
    call_centhunt_group_user_ids = my_hunt_group_user_ids,
    status = True
)

Last updated