Documents
Restore Document From Temp
Zugriff
Mitglied der Organisation mit dieser Berechtigung:
documents:write
Ein API-Schlüssel mit Scopes braucht die Berechtigung auch in seinen Scopes.
POST
Recreates a deleted document from its temp-folder copy (tempKey from the deletion notification).
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
application/json- body
tempKey*stringLength
1 <= lengthcustomerId?stringLength
1 <= lengthfilename*stringLength
1 <= lengthcontentType?stringLength
1 <= lengthname?stringLength
1 <= lengthuserMetadata?externalId?stringLength
1 <= lengthsource?stringLength
1 <= lengtharchive?booleanrestoredFromDocumentId?stringLength
1 <= lengthOK
application/json- response
curl -X POST 'https://api.tillor.eu/orgs//documents/restore-from-temp' \ -H 'Content-Type: application/json' \ -d '{ "tempKey": "string", "filename": "string"}'Example Response
null