Update File
PUT
/storage/files/{fileId}
storage
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://appwrite.io/v1/storage/files/' \
--header 'Content-Type: application/json' \
--data-raw '{
"read": [
"string"
],
"write": [
"string"
]
}'
Response Response Example
{
"$id": "string",
"$permissions": {},
"dateCreated": 0,
"mimeType": "string",
"name": "string",
"signature": "string",
"sizeOriginal": 0
}
Request
Path Params
fileId
string
required
Body Params application/json
Responses
Modified at 2023-08-16 07:28:13