## Restore an object `PUT https://getkollek.com/api/trash` Move one object out of the trash and back to where it was. Identify it with the object_type and id pair returned by the list endpoint. The response has no body: fetch the object from its own endpoint once it is back. Restoring an object whose parent is still in the trash restores the object alone, so it stays out of sight until the parent is restored too. **Permissions:** Owners and editors. Viewers get a 404 response. ### Body parameters - `type` (string, required): The kind of object to restore. One of collection, item, copy, category or set. - `id` (integer, required): The ID of the object to restore, within its own kind. **Returns:** An empty response, or 404 when nothing of that kind and ID sits in your trash. ### Example request ```bash curl https://getkollek.com/api/trash \ -X PUT \ -H "Authorization: Bearer $API_KEY" \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -d '{ "type": "item", "id": 7 }' ``` ### Example response `Status: 204` The response has no body.