Yapper Docs
Api reference
PATCH
/sessions/{sessionId}/access

Requires sharing:write, full workspace membership, and the project role required by the change. Supply at least one change and at most 50 distinct member IDs. Removing an explicit role can leave effective access through the workspace.

Authorization

bearerAuth sharing:write
AuthorizationBearer <token>

In: header

Scope: sharing:write

Path Parameters

sessionId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/sessions/string/access" \  -H "Content-Type: application/json" \  -d '{}'
{  "data": {    "sessionId": "string",    "ownerId": "string",    "generalAccess": "none",    "roles": {      "property1": "admin",      "property2": "admin"    },    "accessVersion": 0,    "changed": true  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string"  }}