Restore Deleted Record
POST
https://app.smartsuite.com/api/v1/applications/{app-id}/records/{record-id}/restore/
Restores a deleted record. The record's title will be appended with (Restored).
Example Request
curl -X POST https://app.smartsuite.com/api/v1/applications/65f194001c0091a8180f8b2b/records/66be7b5fb8b730607ea959f5/restore/ \
-H "Authorization: Token YOUR_API_KEY" \
-H "ACCOUNT-ID: WORKSPACE_ID" \
-H "Content-Type: application/json" \
--data '{}'
Query Parameters
None
Request Body
Empty
200 Response - Example
{
"title": "record 2a (Restored)",
"description": {
"data": {
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "test2a"
}
]
}
]
},
"html": "<div class=\"rendered\">\n <p>test2a</p>\n</div>",
"preview": "test2a",
"yjsData": null
},
"assigned_to": [],
"status": {
"value": "backlog",
"updated_on": "2024-08-15T22:04:16.238000Z"
},
"due_date": {
"from_date": {
"date": null,
"include_time": false
},
"to_date": {
"date": null,
"include_time": false
},
"is_overdue": false,
"status_is_completed": false,
"status_updated_on": null
},
"priority": "",
"first_created": {
"on": "2024-08-15T22:04:15.888000Z",
"by": "63a1f65723aaf6bcb564b1f1"
},
"last_updated": {
"on": "2024-08-15T22:13:08.962000Z",
"by": "63a1f65723aaf6bcb564b1f1"
},
"followed_by": [],
"comments_count": null,
"autonumber": 4,
"sf20bfec60": [],
"s630009358": {
"date": null,
"include_time": false
},
"sukadqxp": {
"date": null,
"include_time": false
},
"id": "66be7b5fb8b730607ea959f5",
"application_slug": "sbwchxhv",
"application_id": "65f194001c0091a8180f8b2b",
"ranking": {
"default": "aaaaaachem"
},
"deleted_date": {
"date": null,
"include_time": false
},
"deleted_by": null
}