Rename based off fileKey
Hey, I am trying to get the rename api request to work. I'm getting a 400 syntax error: here's my call:
{fileKey: "FLqidTvfTRqGKM6ccn4qVLgD7WCkX1pG5EIv42Pt8a093mYQ", newName: "Earnings_Statement-USDA.png"}
Here's the file's JSON:
I'm getting a 404 syntax error when I'm calling my rename function. I have also tried replacing fileKey with key, with the same error. (I also want to potentially avoid this as I might have multiple files with the same name and different keys.)
What could be the issue?
3 Replies