Hello.
Is there any documentation to add a user in a specific instance, using DomoTokenAuth, in the Jupyter workspace? Which are the supported endpoints and verbs?
I am passing the following function but the request is receiving a bad request 400 response.
def add_user(instance_token, domo_instance, new_user):
url = f'https://{domo_instance}.domo.com/api/content/v3/users'
headers = {'x-domo-developer-token' : instance_token}
res = requests.request(method='POST',
url=url,
headers=headers)
return res.json()