Closed dsmdavidSCIL closed 1 year ago
https://github.com/dpguthrie/dbtc/blob/eaddd4779539ad8730597b6238c5c200a1b7adb9/dbtc/client/admin.py#L515 I think this should look similar to the "create_user_group". The expected payload should look something like:
payload = {"account_id": ACCOUNT_ID, "name": group_name, "id": group["id"], "state": 2, "assign_by_default": False, "sso_mapping_groups": []}
And it could be used like: res = client.cloud.delete_user_group(account_id = ACCOUNT_ID, group_id = group["id"], payload = payload)
res = client.cloud.delete_user_group(account_id = ACCOUNT_ID, group_id = group["id"], payload = payload)
Reference to the API docs: https://documenter.getpostman.com/view/14183654/UyxohieD#ce3a35f0-d713-4518-aca3-0f4caf52b5f5
https://github.com/dpguthrie/dbtc/blob/eaddd4779539ad8730597b6238c5c200a1b7adb9/dbtc/client/admin.py#L515 I think this should look similar to the "create_user_group". The expected payload should look something like:
And it could be used like:
res = client.cloud.delete_user_group(account_id = ACCOUNT_ID, group_id = group["id"], payload = payload)
Reference to the API docs: https://documenter.getpostman.com/view/14183654/UyxohieD#ce3a35f0-d713-4518-aca3-0f4caf52b5f5