FILE.UPDATE
POST
To update a file permission and meta data
Request
- application/json
Body
action stringrequired
Default value: file.update
The action
_key stringrequired
The file _key
public_read boolean
Set to true to make the file public
metadata object
Object of the file metadata.
Responses
- 200
Example response
- application/json
- Schema
- Example (from schema)
Schema
data object
_key string
The file _key
change
Possible values: [updated
, deleted
, error
]
the changed that occured. Values: updated|deleted|error
{
"data": {
"_key": "string"
}
}
Loading...