The Open API specification for Synapse is now available for download!

Download Open API Spec

PUT /trashcan/restore/{id}

Moves an entity and its descendants out of the trash can back to its original parent. An exception is thrown if the original parent does not exist any more. In that case, please use PUT /trashcan/restored/{id}/{parentId} to restore to a new parent. In such a case you must be a member of the Synapse Access and Compliance Team.

Resource URL

https://repo-prod.prod.sagebase.org/repo/v1/trashcan/restore/{id}

Resource URL Variables
{id} The ID of the entity being restored out of the trash can.
Resource Information
Authentication Required
Required OAuth Scopes modify
HTTP Method PUT
Request Object None
Response Object None