Skip to main content
POST
Updates the visibility of a session. private sessions are only visible to the owner; team sessions are visible to all organization members. Required scope: sessions:write

Path Parameters

string
required
The session ID (e.g. ses_abc123).

Headers

string
required
Bearer token. Example: Bearer runtm_xxx
string
Scope to an organization.

Body

string
required
New visibility: private or team.

Response

Returns the updated session object.
string
Session ID.
string
Updated visibility setting.