Thread
#prefect-server
    Casey Green

    Casey Green

    1 year ago
    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.
    Kevin Kho

    Kevin Kho

    1 year ago
    I believe delete will put it in an archive state. It’s a soft delete.
    Actually one sec, let me confirm with the team.
    Casey Green

    Casey Green

    1 year ago
    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
    Kevin Kho

    Kevin Kho

    1 year ago
    Oh you are right, that is the right mutation. Delete seems to be actually remove it.