Restore an Asset to a Revision
Assets
Restore an Asset to a Revision
Overwrite the live asset state with the snapshot captured at the specified revision.
POST
Restore an Asset to a Revision
Authorizations
Bearer token
Account ID
Path Parameters
Asset type name
Asset ID
Revision ID to restore to
Response
Default Response
Asset with dynamic properties from asset type definition spread at root level
Example:
{
"id": "019983a9-c4c0-73af-aec9-463feeadc2e7",
"organization_id": "019983a9-c4bf-77da-a35b-5eb177b7b859",
"organization_name": "Acme Corporation",
"visibility": "inherit",
"owned_by": "019983a9-c4c0-73af-aec9-463feeadc2e7",
"name": "John Doe",
"first_name": "John",
"last_name": "Doe",
"title": "CTO",
"important": true,
"contact_type": "Decision Maker",
"contact_methods": [
{
"type": "Email",
"value": "john.doe@example.com"
},
{ "type": "Mobile", "value": "+1-555-0123" }
],
"preferred_contact_method": "Email",
"references": {
"location": "019983a9-c4c1-7abc-def0-123456789abc"
},
"created_at": "2024-01-15T10:30:00.000Z",
"updated_at": "2024-01-20T14:45:00.000Z",
"created_by": "019983a9-c4c0-73af-aec9-463feeadc2e7",
"updated_by": "019983a9-c4c0-73af-aec9-463feeadc2e7"
}Property names present in the revision but no longer in the entity type schema; not restored.
ID of the new revision created by this restore. Clients can use it to navigate to the post-restore state.