cURL
curl --request PUT \ --url https://stashy.example.com/api/v1/files/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: */*' \ --data '"<string>"'
{}
Replace the content of an existing file. Only the owner can update.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The body is of type file.
file
Success
The response is of type UpdateFileResponse · object.
UpdateFileResponse · object