> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blobhub.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Session

Update a session's attributes.

## **POST** `/revisions/:id/data/command` (Command: `update_session`)

### Request Body

| Parameter    | Type   | Required | Description                 |
| :----------- | :----- | :------- | :-------------------------- |
| `engine`     | string | Yes      | Must be `workflow_blobhub`. |
| `command`    | string | Yes      | Must be `update_session`.   |
| `session_id` | string | Yes      | The ID of the session.      |

### Response

Returns an empty JSON object upon success.

### Example

<CodeGroup>
  ```json Request theme={null}
  {
    "engine": "workflow_blobhub",
    "command": "update_session",
    "session_id": "sess_001"
  }
  ```

  ```json Response theme={null}
  {}
  ```
</CodeGroup>
