API Reference

Update an attachment

Log in to see full request history
Path Params
string
required

_id of the attachment to edit

Body Params
string

new name for the file

file

if you send a file here it will replace the current file

Responses
200

This route does not return any Body

400

throw if neither name or file was sent in the body.

404

ID in the URL did not match any attachments

Language
Click Try It! to start a request and see the response here!