Sites & Content
funnels, forms & media api
Updates a single file or folder by ID
cURL
curl --request POST \ --url https://services.leadconnectorhq.com/medias/{id} \ --header 'Content-Type: application/json' \ --data ' { "name": "Updated File Name.pdf", "altType": "location", "altId": "sx6wyHhbFdRXh302LLNR" } '
Access Token
"Bearer 9c48df2694a849b6089f9d0d3513efe"
Unique identifier of the file or folder to update
New name for the file or folder
"Updated File Name.pdf"
Type of entity that owns the file or folder
location
"location"
Location identifier that owns the file or folder
"sx6wyHhbFdRXh302LLNR"
Successful response
Was this page helpful?