PATCH /api/configs/oidc/session

Update the OIDC session configuration for the tenant. This method performs a partial update. If the configuration does not exist, it will be created.

application/json

Body Required

  • ttl number

Responses

  • 200 application/json

    The updated OIDC session configuration.

    Hide response attribute Show response attribute object
    • ttl number Required
  • 400

    Bad Request

  • 401

    Unauthorized

  • 403

    Forbidden

PATCH /api/configs/oidc/session
curl \
 --request PATCH 'https://[tenant_id].logto.app/api/configs/oidc/session' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"ttl":42.0}'
Request examples
{
  "ttl": 42.0
}
Response examples (200)
{
  "ttl": 42.0
}