David Richmond Posted January 15, 2022 Share Posted January 15, 2022 Hey all! Testing out Pulseway's REST API endpoints. I can query for systems, etc but executing a task just gets a happy little 403... Posting to: https://api.pulseway.com/v2/automation/tasks/[redacted]/executions returns this: { "meta": { "response_code": 403, "error_message": "Operation refused as the account has 2FA enabled." }, "data": { "id": 0 } } What recourse do I have here? Is the REST API simply unavailable for task execution in cloud accounts while 2FA is enabled? Suppose I could disable it and just live with a super-long password, but... perhaps there is a way Thanks! Link to comment Share on other sites More sharing options...
Administrators Paul Posted January 17, 2022 Administrators Share Posted January 17, 2022 Hi David, We are in the process of introducing API keys which will allow executing tasks for accounts with 2FA. In the meantime you can disable 2FA and use a long password or wait for the API changes. -Paul Jamie Taylor and David Richmond 1 1 Link to comment Share on other sites More sharing options...
David Richmond Posted January 27, 2022 Author Share Posted January 27, 2022 Thank you so much for the response Paul! Looking forward to it keep up the great work! Jamie Taylor 1 Link to comment Share on other sites More sharing options...
AC_Martin_J Posted January 28, 2022 Share Posted January 28, 2022 On 1/17/2022 at 10:09 AM, Paul said: Hi David, We are in the process of introducing API keys which will allow executing tasks for accounts with 2FA. In the meantime you can disable 2FA and use a long password or wait for the API changes. -Paul Sorry for hijacking the thread, but do you know if IT-Glue will allow integrations with this method once you guys have introduced it to Pulseway? That's the only thing preventing me from clicking the "Enforce MFA" button in Pulseway as it's currently configured with username+pass. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now