{ "opencollection": "1.0.0", "info": { "name": "Strapi Admin Panel Admin Authentication Roles API", "version": "5.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Roles", "type": "folder" }, "items": [ { "info": { "name": "List roles", "type": "http" }, "http": { "method": "GET", "url": "https://{host}/api/users-permissions/roles" }, "docs": "Returns a list of all roles defined in the Users and Permissions plugin, including their associated permissions." }, { "info": { "name": "Get a role", "type": "http" }, "http": { "method": "GET", "url": "https://{host}/api/users-permissions/roles/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID of the role" } ] }, "docs": "Returns a single role by its ID, including its associated permissions." } ] } ], "bundled": true }