Resources

Get API resource scopes

Get scopes (permissions) defined for an API resource.

get/api/resources/{resourceId}/scopes

Request

  • Base URL: https://[tenant_id].logto.app
  • URL: https://[tenant_id].logto.app/api/resources/{resourceId}/scopes
  • Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)

Path parameters

resourceIdstring required

The unique identifier of the resource.

Query parameters

pageinteger

Page number (starts from 1).

page_sizeinteger

Entries per page.

search_paramsobject

Search query parameters.

Response

An array of scopes for the requested resource.

tenantIdstring required
idstring required
resourceIdstring required
namestring required
descriptionstring nullable required
createdAtnumber required

Changes

No recorded changes to this operation across all 8 revisions of this API.