nooks
GitHubInstall
Lists and items

Set list sharing

SetListSharing changes who can reach a List. Only its owner may.

PUT
/api/v1/lists/{listUid}/sharing

Path Parameters

listUid*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PUT "https://example.com/api/v1/lists/string/sharing" \  -H "Content-Type: application/json" \  -d '{}'
{  "list": {    "uid": "string",    "name": "string",    "sharing": "SHARING_UNSPECIFIED",    "canEdit": true,    "isOwner": true,    "isPinned": true,    "openCount": 0,    "doneCount": 0,    "createdAt": "string",    "updatedAt": "string",    "archivedAt": "string",    "archivedByName": "string"  }}