v1
latestOpenAPI 3.1.02026-07-14159142161.9 KBfilesService
Update file by id
Update the entity_id for one file
patch/files/v1/files/{fileId}
Path parameters
Numeric ID of the file to update or the UUID of the upload group
Request body
Response
Successful response
Example response
{
"data": [
{
"id": 1,
"entityType": "post",
"entityId": 1,
"uploadId": "369c4620-adee-4526-a0d8-a1db20bcf5b2",
"originalFilename": "sample.jpg",
"lastModified": 1664629542,
"size": 123456,
"url": "https://aws.s3.amazonaws.com/my-bucket/61/dd/61ddc0045c05ba7537b63e63184b9203.jpg"
}
]
}