Skip to main content

Archive a template

Moves a template to archive. Can be restored later.

Parameters

No parameters.

Returns

Returns the archived template object.

post
/api/templates/{id}/archive
curl -X POST https://{workspace}.documocu.com/api/templates/{id}/archive \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {API_KEY}'
Response
{
"archived_at": "2024-05-14T13:26:20+00:00",
"cover_page": null,
"created_at": "2024-05-14T13:26:20+00:00",
"deleted_at": null,
"id": "doc_5boql6lglq69lto2bhwso88d",
"name": "Est explicabo ut sed officia.",
"updated_at": "2024-05-14T13:26:20+00:00"
}