In Strapi v5; there two new notions that you need to have clear understanding of for your daily CRUD operations. Here is what you have to consider:
Notice: As for v5.2.0, user-permissions pluging still working with id attribute for CRUD operations soespectially for this plugin, use id instead of documentId