Skip to main content

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

Authorization
string
required
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’
filesToBeUpdated
object[]
required
Array of file objects to be updated

Respuestas

[
  {
    "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"
    }
  ]
}'