Media Files/FoldersVersion: v3
Update File/Folder
POST/medias/{id}
Updates a single file or folder by ID
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
Auth methods:
OAuthPrivate IntegrationToken type:
Sub-Account TokenRequest
Headers
Versionstringrequired
API Version
Available options
v3Path Parameters
idstringrequired
Unique identifier of the file or folder to update
Example:
686f9817f0d3165be9fbcef6Body
namestringrequired
New name for the file or folder
Example:
Updated File Name.pdfaltTypestringrequired
Type of entity that owns the file or folder
Available options
locationExample:
locationaltIdstringrequired
Location identifier that owns the file or folder
Example:
sx6wyHhbFdRXh302LLNRResponse
Successful response