Skip to main content
Version: v3

Update File/Folder

POST 

/medias/:id

Updates a single file or folder by ID

Request

Version stringrequired

API Version

Available optionsv3
id stringrequired

Unique identifier of the file or folder to update

application/json

Bodyrequired

    namestringrequired

    New name for the file or folder

    altTypestringrequired

    Type of entity that owns the file or folder

    Available optionslocation
    altIdstringrequired

    Location identifier that owns the file or folder

application/json

Successful response

Schema