nooks
GitHubInstall
Lists and items

Set list archived

DeleteList removes a List and the Items on it. Only its owner may. Puts a List out of the sidebar, or brings it back. Archiving is not deleting: what is archived keeps its Items and can be restored.

POST
/api/v1/lists/{listUid}/archived

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 POST "https://example.com/api/v1/lists/string/archived" \  -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"  }}