Is it possible to programmatically archive a flow?...
# prefect-server
c
Is it possible to programmatically archive a flow? I found this but
mutation { archive_flow(...) { ... } }
doesn't appear to be valid anymore, I only see
delete
mutations.
k
I believe delete will put it in an archive state. It’s a soft delete.
Actually one sec, let me confirm with the team.
c
actually... seems like
archive_flow
is valid... but it's not working for me
doh, nevermind... I was passing the wrong flow ID. seems to have worked
👍 1
k
Oh you are right, that is the right mutation. Delete seems to be actually remove it.