https://prefect.io logo
#prefect-server
Title
# prefect-server
l

Luke Orland

05/06/2022, 9:42 PM
Is it possible to update a registered flow's project value (effectively moving it to a different project without changing anything else, like the flow's run history, etc.)?
k

Kevin Kho

05/06/2022, 9:42 PM
That…I don’t think is possible unfortunately
👍 1
Wait, you can!
l

Luke Orland

05/06/2022, 9:43 PM
graphql mutation?
k

Kevin Kho

05/06/2022, 9:43 PM
Try this yeah
Copy code
mutation {
  update_flow_project(input: {flow_id: "", project_id: ""})
}
l

Luke Orland

05/06/2022, 9:44 PM
awesome, thanks!
do you think it's possible to only mutate the flow's name similarly?
k

Kevin Kho

05/06/2022, 9:47 PM
Let’s find out
That I dont think so
l

Luke Orland

05/06/2022, 9:48 PM
ok thanks for trying it out
2 Views