In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.
SOLVED

[2021.4.2] Alteryx Server REST API PUT /v3/workflows/{workflowID}

cAral
7 - Meteor

I am trying to leverage the V3 rest API to update the owner of a workflow using the PUT /v3/workflows/{workflowID} operation but am receiving a 400 error. Are there currently any known limitations/bugs? 

 

Additional notes:

  • User [TO] was added to user [FROM]'s private studio/subscription before initiating the request per docs.
  • Some request data fields were omitted per the docs (I also tried with the fields explicitly too though).
  • Server Version - 2021.4.2.07064
  • I have attached a screenshot of the swaggerUI but can provide additional information on request.

 

Thanks in advance!

2 REPLIES 2
cAral
7 - Meteor

In case anyone else stumbles on this and is having the same issue. The underlying problem was that I did not specify the [othersMayDownload] or [othersCanExecute] parameters. the current documentation indicates that the default behavior should be for the flag to stay the same as before but it appears this is not currently the case. Explicitly calling [othersMayDownload] and/or [othersCanExecute] == true produces a successful PUT request.

cAral_0-1652132229148.png

 

MDhaker
7 - Meteor

HI @cAral ,

The link to 'the docs' is no longer working. Could you please provide an updated link to the same?

Additionally, could you confirm whether you were able to successfully update the owner of a WF? If yes, please share the sample 'updateWorkflowContract' value.

Thank you.