Skip to main content
POST
/
folder
/
v1
/
libraries
/
{libraryId}
/
foldersAndDocuments
/
untrash
cURL
curl --request POST \
  --url https://aodocs.altirnao.com/api/folder/v1/libraries/{libraryId}/foldersAndDocuments/untrash \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "documentIds": [
    "<string>"
  ],
  "folderIds": [
    "<string>"
  ],
  "kind": "<string>"
}
'
{
  "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

libraryId
string
required

The ID of the library

Query Parameters

targetFolderId
string

Restores to root if null

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