
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm following this documentation to issue a PATCH request to rename a file and am unable to do so. The json that I'm sending contains the same information as that shown in the provided example.
The request URL is:
The json being sent is:
{
"jsonapi": {
"version": "1.0"
},
"data": {
"type": "items",
"id": "urn:adsk.wipprod:dm.lineage:ReIwr5xORACKkizhFMY17A",
"attributes": {
"displayName": "newName.txt"
}
}
The response is:
{
"jsonapi": {
"version": "1.0"
},
"errors": [
{
"id": "19b22ae6-b3a6-4206-aa1b-5fd4a4ec9198",
"status": "400",
"code": "BAD_INPUT",
"title": "One or more input values in the request were bad",
"detail": "Request input is invalid for this operation."
}
]
}
Please provide guidance on how to perform the file rename.
Thank you,
John
Solved! Go to Solution.