Thomas Furmston
10/22/2021, 3:04 PMKevin Kho
mutation {
delete_flow(input: {flow_id: "id_here"}) {
success
error
}
}
so you can use that in the Interactive API
or you can use the Prefect Client
from prefect.client.client import Client
Client.graphql(query)
Thomas Furmston
10/22/2021, 3:09 PMThomas Furmston
10/22/2021, 3:09 PMThomas Furmston
10/22/2021, 3:10 PMquery
in Client.graphql(query)
would be some GraphQL query, right?Kevin Kho
client = Client()
client.graphql(query)
Kevin Kho
Thomas Furmston
10/22/2021, 3:12 PMThomas Furmston
10/22/2021, 3:12 PM