Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

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

Scopes

https://www.googleapis.com/auth/userinfo.email
google_id_token-a99f12e0

View your email address

https://www.googleapis.com/auth/userinfo.email
google_id_token_legacy-a99f12e0

View your email address

Path Parameters

libraryId
string
required

The ID of the library

Query Parameters

targetFolderId
string

Restores to the original parent folder if null or omitted (to the library root if the original parent is no longer available)

securityCode
string

The security code

domain
string

The G Suite domain

Body

application/json
documentIds
string[]
folderIds
string[]
kind
string

Response

200 - application/json

A ApiJobId response

jobId
string
kind
string