Rename a media folder or move it under another

Embed
Preview of the card
<a href="https://indrava.forumulate.com/docs/ref-mediaorganise-folders-update"><img src="https://indrava.forumulate.com/docs/_api/public/orgs/e421ace4-3e78-4ed8-9818-7b4899cf3aa0/spaces/2bcc7f09-4489-40af-85d8-9fdd3f3da314/pages/086a5733-9ff6-40ee-921b-8c0106d5c527/social-card.svg?v=3e7ae33eec8b" alt="Rename a media folder or move it under another" width="600" height="315"></a>
PATCH http://localhost:4000/api/v1/media/folders/{id}

parentId: null moves it to the top.

Parameters

id
string
path
required

Request body

application/json
name
string
parentId
string
{
  "name": "string",
  "parentId": "string"
}

Code samples

cURL
curl -X PATCH "http://localhost:4000/api/v1/media/folders/{id}" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"string","parentId":"string"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
Example
{}
Option 1
{}
Option 2
{}
Updated