sean Damn. No Dice Sean. Here's a complete session with just a few details redacted, hopefully give a clue what dumb-ass thing I am doing...
mailbox_id = 'd035b2b7-c55b-413b-a5f1-4edbe7ea5de0'
... r = requests.get(
... 'https://my.opalstack.com/api/v0/mailuser/read/{}'.format(mailbox_id),
... auth = TokenAuth(TOKEN),
... )
... print(r, r.content)
...
<Response [200]> b'{"id": "d035b2b7-c55b-413b-a5f1-4edbe7ea5de0", "name": "<xxx>", "pending_deletion": false, "ready": true, "imap_server": "<uuid>", "init_created": true}'
r = requests.post(
... 'https://my.opalstack.com/api/v0/mailuser/pwdch/',
... auth=TokenAuth(TOKEN),
... json=[{
... 'id' : mailbox_id,
... 'password': 'some password'
... }],
... )
... print(r, r.reason)
...
<Response [400]> Bad Request