PATCH
/
api
/
v1
/
folders
/
{id}
Update folder
const url = 'https://studyfetchapi.com/api/v1/folders/{id}';
const options = {
  method: 'PATCH',
  headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
  body: '{"name":"<string>","parentId":"<string>"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}

Authorizations

x-api-key
string
header
required

API Key for authentication

Path Parameters

id
string
required

Folder ID

Body

application/json

Response

200

Folder updated successfully