Updates an existing folder
cURL
curl --request PATCH \ --url http://localhost:3000/v1/folders/{id} \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "parentId": "<string>" } '
{ "id": "<string>", "name": "<string>", "parentId": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }
API Key (sk...)
Folder ID
New name for the folder
New parent folder ID
Folder updated successfully
Unique identifier for the folder
Name of the folder
ID of the parent folder, if any
Timestamp when the folder was created
Timestamp when the folder was last updated
Was this page helpful?