---
title: "Changes to Extend a Session"
method: PATCH
path: "/admin/sessions/{id}/extend"
---

# Changes to Extend a Session

`PATCH /admin/sessions/{id}/extend`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 8 of 47 revisions.

- **2025-11-07** `5f08e5827b5e`: 1 breaking, 3 warning, 2 info
- **2025-02-25** `df2fe8db7397`: 1 warning, 1 info
- **2024-06-05** `344e70f3542d`: 2 warning
- **2024-02-20** `4f071812f3ea`: 1 breaking, 6 warning, 3 info
- **2023-08-31** `d10e7b267596`: 1 info
- **2022-12-02** `b6e5ffa30d4c`: 7 breaking, 1 warning, 5 info
- **2022-06-01** `fca041c7721f`: 1 info
- **2021-05-05** `381c760af46e`: 1 breaking

## Changes

- **2025-11-07** `5f08e5827b5e`: 1 breaking, 3 warning, 2 info
  - the response property `identity/recovery_addresses/items/id` became optional for the status `200`
  - added the new `passkey` enum value to the `authentication_methods/items/method` response property for the response status `200`
  - added the new `profile` enum value to the `authentication_methods/items/method` response property for the response status `200`
  - added the new `saml` enum value to the `authentication_methods/items/method` response property for the response status `200`
  - added the optional property `identity/external_id` to the response with the `200` status
  - removed the `v0.6_legacy_session` enum value from the `authentication_methods/items/method` response property for the response status `200`
- **2025-02-25** `df2fe8db7397`: 1 warning, 1 info
  - added the new `saml` enum value to the `identity/credentials/additionalProperties/type` response property for the response status `200`
  - added the success response with the status `204`
- **2024-06-05** `344e70f3542d`: 2 warning
  - added the new `passkey` enum value to the `identity/credentials/additionalProperties/type` response property for the response status `200`
  - added the new `profile` enum value to the `identity/credentials/additionalProperties/type` response property for the response status `200`
- **2024-02-20** `4f071812f3ea`: 1 breaking, 6 warning, 3 info
  - the response property `identity` became optional for the status `200`
  - added the new `code` enum value to the `authentication_methods/items/method` response property for the response status `200`
  - added the new `code` enum value to the `identity/credentials/additionalProperties/type` response property for the response status `200`
  - added the new `code_recovery` enum value to the `identity/credentials/additionalProperties/type` response property for the response status `200`
  - added the new `email` enum value to the `identity/verifiable_addresses/items/via` response property for the response status `200`
  - added the new `link_recovery` enum value to the `identity/credentials/additionalProperties/type` response property for the response status `200`
  - added the new `sms` enum value to the `identity/verifiable_addresses/items/via` response property for the response status `200`
  - added the optional property `authentication_methods/items/organization` to the response with the `200` status
  - added the optional property `identity/organization_id` to the response with the `200` status
  - added the optional property `tokenized` to the response with the `200` status
- **2023-08-31** `d10e7b267596`: 1 info
  - added the optional property `authentication_methods/items/provider` to the response with the `200` status
- **2022-12-02** `b6e5ffa30d4c`: 7 breaking, 1 warning, 5 info
  - the response property `identity/metadata_admin` became nullable for the status `200`
  - the response property `identity/metadata_public` became nullable for the status `200`
  - the response property `identity/verifiable_addresses/items/id` became optional for the status `200`
  - the `id` response's property format changed from `uuid4` to `uuid` for status `200`
  - the `identity/id` response's property format changed from `uuid4` to `uuid` for status `200`
  - the `identity/recovery_addresses/items/id` response's property format changed from `uuid4` to `uuid` for status `200`
  - the `identity/verifiable_addresses/items/id` response's property format changed from `uuid4` to `uuid` for status `200`
  - added the new `code_recovery` enum value to the `authentication_methods/items/method` response property for the response status `200`
  - api operation id `adminExtendSession` removed and replaced with `extendSession`
  - api tag `identity` added
  - api tag `v0alpha2` removed
  - removed the non-success response with the status `500`
  - added the optional property `devices` to the response with the `200` status
- **2022-06-01** `fca041c7721f`: 1 info
  - endpoint added
- **2021-05-05** `381c760af46e`: 1 breaking
  - api path removed without deprecation

---

[Operation](https://skmtc.dev/ory/apis/ory-identities-api/docs/admin/sessions/:id/extend/patch.md) - [API](https://skmtc.dev/ory/apis/ory-identities-api.md) - [Page](https://skmtc.dev/ory/apis/ory-identities-api/changes/admin/sessions/:id/extend/patch)
