How to revoke keys from end to end encryption

Hi,
How to revoke keys from end to end encryption ofr a single user?
I don’t care about decrypting files, I just want to reset the mnemonic.

tried this: Revoke keys · Issue #32 · nextcloud/end_to_end_encryption · GitHub

but this is what I get from the terminal

>   <status>failure</status>
>   <statuscode>403</statuscode>
>   <message>Client &quot;curl/7.76.1&quot; is not allowed to access end-to-end encrypted content.</message>
>  </meta>

nobody has another way of doing i, through occ commands for example?