Deleting a specific user

How can I delete a specific user? I am using:

mutation{
 delete(type:User
   arcql:"user.id='01EPRKEA6S6W9FW6VK0A9Z1X0R'")
}


But getting this error:

mutation{
 delete(type:User
   arcql:"*")
}

If you are trying to delete by ID then use:

mutation{
 delete(type:User
   arcql:"hypi.id='01EPRKEA6S6W9FW6VK0A9Z1X0R'")
}

The delete is based on the type you select. Not the hierarchy of the find query. So if you want to delete User. Then you delete by using hypi.id = ‘<the id>’. <the id> can be the value you got from the find query, that’s fine but when you run the delete query you must use hypi.id - you’re saying “Delete from the User table where hypi.id in the user table is = to this id”