appwrite/docs/examples/1.4.x/client-rest/examples/storage/update-file.md

12 lines
293 B
Markdown
Raw Normal View History

2023-08-30 09:20:26 +00:00
PUT /v1/storage/buckets/{bucketId}/files/{fileId} HTTP/1.1
Host: HOSTNAME
Content-Type: application/json
X-Appwrite-Response-Format: 1.4.0
X-Appwrite-Project: 5df5acd0d48c2
X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...
{
"name": "[NAME]",
"permissions": ["read(\"any\")"]
}