---
title: "Changes to Delete"
method: POST
path: "/v1/session/delete"
---

# Changes to Delete

`POST /v1/session/delete`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 5 revisions.

- **2026-07-17** `cc76ee2bed1c`: 11 breaking, 11 warning, 32 info
- **2025-05-06** `c0132bcf00a9`: 1 warning, 4 info
- **2025-05-04** `d7e615a9c1d6`: 21 breaking, 15 warning, 16 info

## Changes

- **2026-07-17** `cc76ee2bed1c`: 11 breaking, 11 warning, 32 info
  - added the new required request property `files/items/sha256`
  - added the new required request property `files/items/size`
  - added the new required request property `model/model_name`
  - added the new required request property `model/toolsets/items/is_enabled_by_default`
  - added the new required request property `model/toolsets/items/is_enabled_by_default_in_incognito`
  - removed `#/components/schemas/Usage` from the `messages/items/usage` request property `anyOf` list
  - the request property `model/toolsets/items/description` became required
  - the request property `model/toolsets/items/is_enabled` became required
  - the request property `model/toolsets/items/is_experimental` became required
  - removed the enum value `retriving` of the request property `messages/items/state`
  - removed the enum value `retriving` of the request property `state`
  - removed the request property `messages/items/message_sub_type`
  - removed the request property `model/is_experimental`
  - added the new `sec-gemini/canvas` enum value to the `mime_type/anyOf[subschema #1: MimeType]/` response property for the response status `200`
  - added the new `sec-gemini/code` enum value to the `mime_type/anyOf[subschema #1: MimeType]/` response property for the response status `200`
  - added the new `sec-gemini/graph` enum value to the `mime_type/anyOf[subschema #1: MimeType]/` response property for the response status `200`
  - added the new `sec-gemini/html` enum value to the `mime_type/anyOf[subschema #1: MimeType]/` response property for the response status `200`
  - added the new `sec-gemini/image` enum value to the `mime_type/anyOf[subschema #1: MimeType]/` response property for the response status `200`
  - added the new `sec-gemini/json` enum value to the `mime_type/anyOf[subschema #1: MimeType]/` response property for the response status `200`
  - added the new `sec-gemini/markdown` enum value to the `mime_type/anyOf[subschema #1: MimeType]/` response property for the response status `200`
  - added the new `sec-gemini/table` enum value to the `mime_type/anyOf[subschema #1: MimeType]/` response property for the response status `200`
  - added the new `sec-gemini/timeline` enum value to the `mime_type/anyOf[subschema #1: MimeType]/` response property for the response status `200`
  - added the new optional request property `files/items/content_type_label`
  - added the new optional request property `messages/items/created_at`
  - added the new optional request property `messages/items/icon`
  - added the new optional request property `messages/items/text_color`
  - added the new optional request property `messages/items/title`
  - added the new optional request property `model/description`
  - added the new optional request property `model/use_experimental`
  - added the new optional request property `usage/cached_token_count`
  - added the new optional request property `usage/prompt_tokens_details`
  - added the new optional request property `usage/thoughts_token_count`
  - added the new optional request property `usage/tool_use_prompt_token_count`
  - added `#/components/schemas/Usage-Input` to the `messages/items/usage` request property `anyOf` list
  - the `is_enabled` request property default value `true` was removed
  - the `is_experimental` request property default value `false` was removed
  - the `usage` request property default value `{"prompt_tokens":0,"generated_tokens":0,"total_tokens":0}` was removed
  - added the new `end` enum value to the request property `messages/items/state`
  - added the new `end` enum value to the request property `state`
  - added the new `retrieving` enum value to the request property `messages/items/state`
  - …14 more
- **2025-05-06** `c0132bcf00a9`: 1 warning, 4 info
  - removed the request property `model/subagents`
  - added the new optional request property `model/toolsets`
  - added the new `confirmation_request` enum value to the request property `messages/items/message_type`
  - added the new `confirmation_response` enum value to the request property `messages/items/message_type`
  - added the new `source` enum value to the request property `messages/items/message_type`
- **2025-05-04** `d7e615a9c1d6`: 21 breaking, 15 warning, 16 info
  - removed `#/components/schemas/Usage-Input` from the `messages/items/usage` request property `anyOf` list
  - removed the enum value `confirmation_request` of the request property `messages/items/message_type`
  - removed the enum value `confirmation_response` of the request property `messages/items/message_type`
  - removed the enum value `end` of the request property `messages/items/state`
  - removed the enum value `end` of the request property `state`
  - removed the enum value `retrieving` of the request property `messages/items/state`
  - removed the enum value `retrieving` of the request property `state`
  - removed the enum value `sec-gemini/canvas` of the request property `messages/items/mime_type/anyOf[subschema #1: MimeType]/`
  - removed the enum value `sec-gemini/code` of the request property `messages/items/mime_type/anyOf[subschema #1: MimeType]/`
  - removed the enum value `sec-gemini/graph` of the request property `messages/items/mime_type/anyOf[subschema #1: MimeType]/`
  - removed the enum value `sec-gemini/html` of the request property `messages/items/mime_type/anyOf[subschema #1: MimeType]/`
  - removed the enum value `sec-gemini/image` of the request property `messages/items/mime_type/anyOf[subschema #1: MimeType]/`
  - removed the enum value `sec-gemini/json` of the request property `messages/items/mime_type/anyOf[subschema #1: MimeType]/`
  - removed the enum value `sec-gemini/markdown` of the request property `messages/items/mime_type/anyOf[subschema #1: MimeType]/`
  - removed the enum value `sec-gemini/table` of the request property `messages/items/mime_type/anyOf[subschema #1: MimeType]/`
  - removed the enum value `sec-gemini/timeline` of the request property `messages/items/mime_type/anyOf[subschema #1: MimeType]/`
  - removed the enum value `source` of the request property `messages/items/message_type`
  - removed the enum value `undefined` of the request property `messages/items/state`
  - removed the enum value `undefined` of the request property `state`
  - the `create_time` request property type changed from `number` to `integer`
  - the `update_time` request property type changed from `number` to `integer`
  - removed the request property `files/items/content_type_label`
  - removed the request property `files/items/sha256`
  - removed the request property `files/items/size`
  - removed the request property `messages/items/created_at`
  - removed the request property `messages/items/icon`
  - removed the request property `messages/items/text_color`
  - removed the request property `messages/items/title`
  - removed the request property `model/description`
  - removed the request property `model/model_name`
  - removed the request property `model/toolsets`
  - removed the request property `model/use_experimental`
  - removed the request property `usage/cached_token_count`
  - removed the request property `usage/prompt_tokens_details`
  - removed the request property `usage/thoughts_token_count`
  - removed the request property `usage/tool_use_prompt_token_count`
  - added the new optional request property `messages/items/message_sub_type`
  - added the new optional request property `model/is_experimental`
  - added the new optional request property `model/subagents`
  - added `#/components/schemas/Usage` to the `messages/items/usage` request property `anyOf` list
  - …12 more

---

[Operation](https://skmtc.dev/google/apis/sec-gemini/docs/v1/session/delete/post.md) - [API](https://skmtc.dev/google/apis/sec-gemini.md) - [Page](https://skmtc.dev/google/apis/sec-gemini/changes/v1/session/delete/post)
