Get API resource

GET /api/resources/{id}

Get an API resource details by ID.

Path parameters

  • id string Required

    The unique identifier of the resource.

Responses

  • 200 application/json

    The requested resource.

    Hide response attributes Show response attributes object
  • Bad Request

  • Unauthorized

  • Forbidden

  • Not Found

GET /api/resources/{id}
curl \
 -X GET https://[tenant_id].logto.app/api/resources/{id} \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "tenantId": "string",
  "id": "string",
  "name": "string",
  "indicator": "string",
  "isDefault": true,
  "accessTokenTtl": 42.0
}