Update a folder
Update a Folder's name, emoji, colour, or published state. Every field is optional and an omitted field is left as it is, so a caller changing one field does not have to resend the rest.
/v1/folders/{id}Update a Folder's name, emoji, colour, or published state. Every field is optional and an omitted field is left as it is, so a caller changing one field does not have to resend the rest.
Personal API Key or App Session bearer token.
In: header
Path Parameters
Header Parameters
A unique value identifying this write. The first response for a given key is recorded for 24 hours and replayed for every later request that repeats it, so a retry after a timeout cannot create a duplicate. Replayed responses carry Idempotent-Replay: true. A key whose original request is still running gets 409. Use a UUID or a ULID, and reuse a key only when retrying the same request.
length <= 255Request 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
curl -X PATCH "https://example.com/v1/folders/string" \ -H "Idempotency-Key: 8f14e45f-ea4e-4a1f-9c2b-6f0a1d3c5e77" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "name": "string", "emoji": "string", "color": "string", "isPublished": true}{ "_tag": "InvalidFolderNameError", "message": "string"}{ "_tag": "Unauthorized", "message": "string"}{ "_tag": "FolderNotFoundError", "message": "string", "folderId": "string"}{ "_tag": "FolderNameConflictError", "message": "string"}{ "_tag": "RateLimitExceeded", "message": "string"}Delete a folder DELETE
Delete a Folder. The Saved Items in it are kept and become unfiled rather than being deleted with it. Deletion cannot be undone, so an agent should confirm with the person first.
Health check GET
Report whether the API is serving requests. Unauthenticated, uncounted against any rate limit, and safe to poll.