Logto Roles API

Role management for API resource RBAC (role-based access control). See [🔐 Role-based access control (RBAC)](https://docs.logto.io/docs/recipes/rbac/) to get started with role-based access control.

Business capability
Identity & Access Management BC-620.20

Operations 14

GET /api/roles Get roles #
POST /api/roles Create a role #
GET /api/roles/{id} Get role #
PATCH /api/roles/{id} Update role #
DELETE /api/roles/{id} Delete role #
GET /api/roles/{id}/users Get role users #
POST /api/roles/{id}/users Assign role to users #
DELETE /api/roles/{id}/users/{userId} Remove role from user #
GET /api/roles/{id}/applications Get role applications #
POST /api/roles/{id}/applications Assign role to applications #
DELETE /api/roles/{id}/applications/{applicationId} Remove role from application #
GET /api/roles/{id}/scopes Get role scopes #
POST /api/roles/{id}/scopes Link scopes to role #
DELETE /api/roles/{id}/scopes/{scopeId} Unlink scope from role #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/logto-roles-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

logto-roles-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Logto API references Roles API
  description: 'API references for Logto services.


    Note: The documentation is for Logto Cloud. If you are using Logto OSS, please refer to the response of `/api/swagger.json` endpoint on your Logto instance.'
  version: Cloud
servers:
- url: https://[tenant_id].logto.app/
  description: Logto endpoint address.
security:
- OAuth2:
  - all
tags:


# --- truncated at 32 KB (40 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/logto/refs/heads/main/openapi/logto-roles-api-openapi.yml