Skip to main content
POST
/
folder
/
v1
/
duplicate
/
{sourceFolderId}
/
{destinationFolderId}
/
{folderName}
cURL
curl --request POST \
  --url https://aodocs.altirnao.com/api/folder/v1/duplicate/{sourceFolderId}/{destinationFolderId}/{folderName} \
  --header 'Authorization: Bearer <token>'
{
  "folder": {
    "editable": true,
    "editableDocuments": true,
    "fileId": "<string>",
    "folderAodocsId": "<string>",
    "folderDefinitionId": "<string>",
    "folderIsRoot": true,
    "kind": "<string>",
    "libraryId": "<string>",
    "libraryName": "<string>",
    "name": "<string>",
    "parentFolderAodocsId": "<string>",
    "parentFolderDriveId": "<string>",
    "parentFolderIsRoot": true,
    "permittedOperations": [
      "DELETE"
    ],
    "resourceKey": "<string>",
    "restrictedDownload": true,
    "subfolders": "<array>"
  },
  "jobId": "<string>",
  "kind": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

sourceFolderId
string
required
destinationFolderId
string
required
folderName
string
required

Query Parameters

securityCode
string

The security code

domain
string

The G Suite domain

Response

200 - application/json

A ApiDuplicateFolderStructureResult response

folder
object
jobId
string
kind
string