curl --request POST \
--url https://api.example.com/api/projects/{projectId}/documents/restore \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"path": "/"
}
'Restore soft-deleted documents from trash to a specified location.
curl --request POST \
--url https://api.example.com/api/projects/{projectId}/documents/restore \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"path": "/"
}
'Personal access token is obtained through your profile
Project unique identifier
Documents restored successfully
Was this page helpful?