cURL
curl --request PATCH \ --url https://api.copera.ai/public/v1/docs/{docId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "title": "<string>", "icon": { "type": "<string>", "value": "<string>" }, "cover": { "type": "<string>", "value": "<string>" } } '
{ "_id": "<string>", "title": "<string>", "owner": "<string>", "createdAt": "<string>", "updatedAt": "<string>", "icon": { "type": "<string>", "value": "<string>" }, "cover": { "type": "<string>", "value": "<string>" }, "starred": true, "parent": "<string>" }
Update document properties such as title, icon, or cover.
title
icon
cover
Bearer token
ObjectId
24
^[0-9a-fA-F]{24}$
New document title
Show child attributes
Default Response
Was this page helpful?