Skip to main content
POST
Restore from the trash

Authorizations

Authorization
string
header
required

Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.

Body

application/json
type
enum<string>
required
Available options:
folder,
file
id
integer
required

Folder or file ID

Response

Restored item

data
object

A Drive folder.