Skip to main content
PUT
/
api
/
v1
/
files
/
{id}
UpdateFile
curl --request PUT \
  --url https://stashy.example.com/api/v1/files/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: */*' \
  --data '"<string>"'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

*/*

The body is of type file.

Response

200 - application/json

Success

The response is of type UpdateFileResponse · object.