Restore a soft-deleted asset
POST /admin/assets/{id}/restore
POST
/admin/assets/{id}/restore
Admin-only. Clears deleted_at + deleted_reason on the
asset row and fires an admin.asset.restored audit event
carrying the prior reason + how long the asset had been
soft-deleted.
Returns 404 if the asset is already live (or doesn’t exist). Returns 401 for anonymous callers; 403 for non-admins.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string format: uuid
Responses
Section titled “ Responses ”Restored
Authentication required, missing, or invalid
object
error
required
Human-readable error summary
string
Example
the request could not be completedExample
{ "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 completedResource not found
object
error
required
Human-readable error summary
string
Example
the request could not be completed