Update of file name using API?

Update of file name using API?

philipfrench
Collaborator Collaborator
185 Views
0 Replies
Message 1 of 1

Update of file name using API?

philipfrench
Collaborator
Collaborator

Can I update attachment file name and title using API? (to an existing attachment)


When I call PATCH v3/workspaces/ZZZ/items/ZZZ/attachments/ZZZ 

I am able to update the folder, and description. But I receive:

 

"Invalid input. Allowed properties: status, folder and description"

 

Does anyone have a way?

 

(I think file name is held in both the attachment metadata, and also in the metadata when we upload to S3, so I guess that is why it is not so simple).

 

I wondered if anyone had done this, without re-creating the attachment.

186 Views
0 Replies
Replies (0)