Delete Tag after "approval failed"

Hello everybody,

I’m using the approval workflow for some files.
My problem now is:
How can I restart the approval flow of a file after the approval has failed by the approver?
If this has to be done by a Flow Script, how can i delete the tag of this file by a flow-script?

Im using Nextcloud 23.0.3

Thanks in advance

Does anyboby know how to delete a Tag by y script?