Skip to main content

Restore Account Collections

POST /v1/account/collection/restore

Restores one or more previously deleted account collections for the authenticated tenant. The endpoint reactivates each collection and returns the restored collection objects along with metadata indicating which IDs were restored and aggregate counts for restored and not-found items.

Request Body

{
"collectionIds": ["collection-id-1"]
}

Response Example

{
"collections": [
{
"name": "Example Collection",
"tenant": "tenant-id-1",
"accountIds": [],
"created": "2025-10-29T12:11:13.361Z",
"updated": "2025-10-29T12:11:35.185Z",
"deletedDate": null,
"accounts": [],
"id": "collection-id-1"
}
],
"metadata": {
"restored": {
"collection-id-1": true
},
"restoredCount": 1,
"notFoundCount": 0
}
}