PATCH /api/v1/session/
Updates session data by merging the provided data with existing session data. This endpoint allows you to add or modify fields in the session’s data store without replacing the entire session.Path Parameters
The UUID of the session to update
Request Body
A JSON object containing the data to merge with the existing session data. Keys in this object will be added or updated in the session.
Response
Success message indicating the session was updated
The UUID of the updated session
Example Request
Example Response
Error Responses
Session not found or update failed
Notes
- The update operation merges the provided data with existing session data
- Existing keys are overwritten, new keys are added
- Nested objects are merged at the top level only
- The session must exist before it can be updated
Related Endpoints
- Create Session - Create a new session
- Get Session - Retrieve session data
- Delete Session - Delete a session