I understand the situation you're in. Sorry I don't have better news for you.
In regards to the password reset, here's how you can initiate that from the API: https://ftrack-python-api.readthedocs.io/en/stable/working_with_entities.html?highlight=status#server-side-reset-of-entity-attributes-or-settings
Just change `api_key` in that example to `password` and it should initiate the password reset for you.
Thank you very much for the answer Patrick. We're not quite at the point where we can implement SSO so that's where I'm left trying to automate old manual processes.
Is the reset password action the same as invite user? I don't see a different one in the docs. I think it could be useful in the future for me.
Unfortunately, you can't currently set a user's password via the API. You can invite a user, or reset their password (they get a reset email and get to choose their new password), but you can't provide the password yourself.
Alternatively, depending on your ftrack license, you can also configure Single Sign-On via SAML. This would allow you to entirely bypass the need to have your own custom user synchronization tools.
In the short term I can share your use case with our product team but the above are your current options.
Is there a method to set a user's account password using the API? I'm scripting a user account creation process and this is the one aspect I haven't managed to figure out. Looking at the schemas, there's no property that looks like it would do it. Sending an invitation email seems like the best route but it's not our current manual method and I'd rather not change it if possible.
I'm working with the rest api endpoint using powershell if that's relevant. I don't believe it leaves me without any features of the api clients.