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>" }
Restores multiple folders and documents from trash into folder targetFolderId.
The access token received from the authorization server in the OAuth 2.0 flow.
The ID of the library
Restores to root if null
The security code
The G Suite domain
A ApiJobId response