---
title: "Changes to Set OAuth2 Client Token Lifespans"
method: PUT
path: "/admin/clients/{id}/lifespans"
---

# Changes to Set OAuth2 Client Token Lifespans

`PUT /admin/clients/{id}/lifespans`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 6 of 15 revisions.

- **2025-11-07** `f270bd3c7f35`: 1 breaking, 1 info
- **2025-02-09** `469b85e76413`: 6 info
- **2024-02-12** `02c4930b8c92`: 1 info
- **2023-04-07** `51ed01bdda58`: 3 info
- **2022-10-27** `4505403da8d7`: 1 info
- **2022-02-16** `82d233540486`: 1 breaking

## Changes

- **2025-11-07** `f270bd3c7f35`: 1 breaking, 1 info
  - the `jwks` response's property type changed from no type to `object` for status `200`
  - added the optional property `jwks/keys` to the response with the `200` status
- **2025-02-09** `469b85e76413`: 6 info
  - added the new optional request property `device_authorization_grant_access_token_lifespan`
  - added the new optional request property `device_authorization_grant_id_token_lifespan`
  - added the new optional request property `device_authorization_grant_refresh_token_lifespan`
  - added the optional property `device_authorization_grant_access_token_lifespan` to the response with the `200` status
  - added the optional property `device_authorization_grant_id_token_lifespan` to the response with the `200` status
  - added the optional property `device_authorization_grant_refresh_token_lifespan` to the response with the `200` status
- **2024-02-12** `02c4930b8c92`: 1 info
  - added the optional property `skip_logout_consent` to the response with the `200` status
- **2023-04-07** `51ed01bdda58`: 3 info
  - added the optional property `access_token_strategy` to the response with the `200` status
  - added the optional property `skip_consent` to the response with the `200` status
  - the `token_endpoint_auth_method` response's property default value `client_secret_basic` was added for the status `200`
- **2022-10-27** `4505403da8d7`: 1 info
  - endpoint added
- **2022-02-16** `82d233540486`: 1 breaking
  - api path removed without deprecation

---

[Operation](https://skmtc.dev/ory/apis/ory-hydra-api/docs/admin/clients/:id/lifespans/put.md) - [API](https://skmtc.dev/ory/apis/ory-hydra-api.md) - [Page](https://skmtc.dev/ory/apis/ory-hydra-api/changes/admin/clients/:id/lifespans/put)
