Documentation Index
Fetch the complete documentation index at: https://developers.leadwaycrm.com/llms.txt
Use this file to discover all available pages before exploring further.
Updates metadata or status of multiple files and folders
PUT https://services.leadconnectorhq.com/medias/update-files
Autorizacion
Bearer token generado desde el portal Leadway. Ver Autenticacion.
Version
string
default:"2021-07-28"
required
Version de la API.
Body
altId
string
default:"sx6wyHhbFdRXh302LLNR"
required
Account identifier
altType
string
default:"account"
required
Type of entity that owns the files Posibles valores: ‘account’
Array of file objects to be updated
id
string
default:"686f9817f0d3165be9fbcef6"
required
Unique identifier of the file or folder to be updated
name
string
default:"Updated File Name.pdf"
New name for the file or folder
Respuestas
200 - Successful response
[
{
"updated": true,
"id": "686f9817f0d3165be9fbcef6"
}
]
Ejemplo
curl -X PUT 'https://services.leadconnectorhq.com/medias/update-files' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Version: 2021-07-28' \
-H 'Content-Type: application/json' \
-d '{
"altId": "sx6wyHhbFdRXh302LLNR",
"altType": "account",
"filesToBeUpdated": [
{
"id": "686f9817f0d3165be9fbcef6",
"name": "Updated File Name.pdf"
}
]
}'