cURL
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>" } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
public
private
Successful Response
Was this page helpful?