Sessions

Set who can view or edit a session

Changed on

Owner only. The body is the full desired state: users left out lose access. Changed targets have their active share revoked and a new one inserted in one transaction; shares are never deleted.

put/api/sessions/{rootTaskId}/shares

Request

  • Base URL
    http://localhost:3013
  • URL
    http://localhost:3013/api/sessions/{rootTaskId}/shares
  • Auth
    HTTP bearer

Path parameters

rootTaskIdstring required

Request body

everyone'none' | 'read' | 'write' required

Response

Active shares after the change

everyone'none' | 'read' | 'write' required

Changes