Skip to content

Restore a soft-deleted collection

POST
/admin/collections/{id}/restore

Admin-only. Clears deleted_at + deleted_reason on the collection row and fires an admin.collection.restored audit event. Returns 404 if already live (or doesn’t exist).

id
required
string format: uuid

Restored

Authentication required, missing, or invalid

object
error
required

Human-readable error summary

string
Example
the request could not be completed
Example
{
"error": "authentication required: sign in and retry with a valid session or API token"
}

Authenticated but missing required capabilities

object
error
required

Human-readable error summary

string
Example
the request could not be completed

Resource not found

object
error
required

Human-readable error summary

string
Example
the request could not be completed