Skip to main content
PATCH
/
chat
/
chat-session
/
{session_id}
Patch Chat Session
curl --request PATCH \
  --url https://cloud.onyx.app/api/chat/chat-session/{session_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "sharing_status": "public"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

session_id
string<uuid>
required

Body

application/json
sharing_status
enum<string>
required
Available options:
public,
private

Response

Successful Response