Attachments
Renames an attachment.
Renames an attachment based on the given attachment ID. The file extension can't be changed. Other properties than the filename can't be changed.
patch/attachments/{attachmentId}
Request
- Base URL: https://pts-api.procountor.com/api
- URL: https://pts-api.procountor.com/api/attachments/{attachmentId}
- Auth: HTTP bearer
Path parameters
attachmentIdinteger required
ID of the attachment
Query parameters
namestring
Name of the attachment file
Request body
Example request
{
"name": "Picture.jpg"
}Response
Attachment was successfully renamed.
Example response
{
"name": "Picture.jpg"
}Changes
No recorded changes to this operation across all 1 revision of this API.