Hi! I know I can delete a flow using ```from prefe...
# prefect-community
l
Hi! I know I can delete a flow using
Copy code
from prefect.client import Client

flow_id = "..."

client = Client()
client.graphql(
    """
    mutation {
    delete_flow(input: {flow_id: "%s"}) {
        success
    }
    }
    """ % flow_id
)
But how can I delete all versions of a given flow? It looks like the Flow Group ID is constant over the flow versions. I tried to replaced it into above snippet but didn't work.
k
There is a different
delete_flow_group
mutation
l
Thanks!. It worked.
👍 1