Move external file. Requires project.integrations.connect.
Arguments
inputExternalStorageMoveInput!requiredinput.providerString!requiredStorage provider accessed through the caller's own personal connection. A human caller is required; agent, run, and service-account credentials are refused.
input.projectReferenceStringProject ID or slug. Requires project.integrations.connect through the caller's own personal provider connection.
input.fileIdString!requiredinput.folderIdStringDestination folder. Provider name conflicts return conflict; Google Drive allows duplicate names. SharePoint moves remain within the same site. Use a folder item ID or root. Required unless newParentId is supplied.
input.nameStringNew name, 1-255 characters without / or control characters.
input.newParentIdStringinput.newNameStringLegacy new name. Empty keeps the current name; control characters are not allowed.
Responses
mutation MoveExternalFile($input: ExternalStorageMoveInput!) { moveExternalFile(input: $input) { id provider name path mimeType sizeBytes kind parentId modifiedAt etag thumbnailUrl webUrl }}{ "data": { "moveExternalFile": { "id": "string", "provider": "string", "name": "string", "path": "string", "mimeType": "string", "sizeBytes": 0, "kind": "string", "parentId": "string", "modifiedAt": "string", "etag": "string", "thumbnailUrl": "https://example.com", "webUrl": "https://example.com" } }}The ExternalStorageFile! in data.moveExternalFile.