Move a file to a new location.
Changed onThis endpoint performs an asynchronous move of an existing file asset, identified by its assetId, into another folder or project. The operation requires the requester to have, at minimum, the following roles:
| Location | Role(s) |
|---|---|
| Source | comment |
| Source's parent | edit |
| Target | edit |
NOTE:
- If the requester lacks the required roles or the file does not exist, an appropriate error response will be returned.
Request
- Base URL: https://cloudstorage.adobe.io/v1
- URL: https://cloudstorage.adobe.io/v1/files/{assetId}/move
- Auth: HTTP bearer
Path parameters
A globally unique identifier for the asset
The ID of the asset to get.
Headers
The X-Request-Id header is used to identify a request.
It can be used to correlate logs and other resources and is intended to be a non-persistent identifier.
Request body
Example request
{
"parentId": "urn:aaid:sc:US:4f2fc15c-c062-4951-b37b-1f65ed62a174",
"options": {
"autorename": true
}
}Response
Accepted - Request to move a file was accepted and will be processed asynchronously.
Changes
- breaking
added the pattern
^(?!^([Cc][Oo][Nn]|[Pp][Rr][Nn]|[Aa][Uu][Xx]|[Nn][Uu][Ll]|[Cc][Oo][Mm][1-9]|[Ll][Pp][Tt][1-9])$)[^\\\/:*?"|><]+$to the request property - warning
added the new
conflictenum value to theresponse property for the response status - warning
added the new
conflictenum value to theresponse property for the response status - warning
added the new
conflictenum value to theresponse property for the response status - warning
added the new
conflictenum value to theresponse property for the response status - warning
added the new
conflictenum value to theresponse property for the response status - warning
added the new
conflictenum value to theresponse property for the response status - warning
added the new
conflictenum value to theresponse property for the response status - warning
added the new
conflictenum value to theresponse property for the response status - warning
added the new
conflictenum value to theresponse property for the response status - warning
added the new
conflictenum value to theresponse property for the response status - warning
added the new
conflictenum value to theresponse property for the response status - info
the
request property's minLength was decreased from1to0
- breaking
- info
endpoint added
- info