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
  • 400

    Bad Request

  • 401

    Unauthorized

  • 403

    Forbidden

  • 404

    Not Found

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