--- title: "How Do I Add Additional Archive Paths in Autoform DM 10 or Later?" slug: "add-additional-archive-paths-in-autoform-dm-10-or-later" description: "This article will explain how to add additional Archive Paths to Autoform DM version 10 or later. We suggest you use it if your current storage is becoming full." tags: ["Autoform DM"] updated: 2024-11-11T14:24:25Z published: 2024-11-11T14:24:25Z canonical: "kb.lasernetgroup.com/add-additional-archive-paths-in-autoform-dm-10-or-later" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.lasernetgroup.com/llms.txt > Use this file to discover all available pages before exploring further. # How Do I Add Additional Archive Paths in Autoform DM 10 or Later? This article will explain how to add additional Archive Paths to Autoform DM version 10 or later. We suggest you use this guide if your current storage is becoming full and you want to start archiving images to a new location. ## Open the REST API Documentation 1. Log into Autoform DM. 2. Click the **Information** button shown in the following image. 3. Select **REST API documentation**, which will open the swagger documentation in a new tab. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-J5B5V3AV.png) 1. Scroll down through the document until you reach a section where you can execute the REST API commands. ## REST API Commands The recommended REST API commands: **A**: Archive Paths are managed using the `/archive-paths` resource: ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (8).jpg) **B**: Review what archive paths are present in the system by using `GET /archive-paths/paths`: ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image.jpg) This will return archive paths in JSON format, for example: ```json [  {    "name": "file-path-1",    "type": "DIRECTORY",    "path": "c:/archive"  },  {    "name": "file-path-2",    "type": "DIRECTORY",    "path": "c:/archive/chunks";  } ] ``` This lists all archive paths in the system, hence including the documents and chunks paths. **C**: To identify which path is currently set as either the document or chunks paths use the following operations: ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (1).jpg) ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (2).jpg) These will return the name of the archive path set for each purpose, for instance, file-path-1. **D**: To add a new archive path in addition to the existing one, use `POST /archive-paths/paths`. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (3).jpg) For example, adding a new path called “my-new-path” in the location `c:\other-archive` you would use: ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (4).jpg) When executing this, ensure you see a 200 OK response. To confirm that the path has been added, use the GET operation in command B. The added path should be listed in the response. **E**: The new archive path is now ready for use and can be set as the new document or chunk path as desired using: ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (5).jpg) ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (6).jpg) For example, to set the newly added path **my-new-path** as the document path, use the first option from above and set the body to the new archive path name: ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (7).jpg) > [!NOTE] > Note > > 1. The above example shows the use of a forward slash “/” in the path because a single “\” backslash is treated as an escape character. However, for UNC path eg `\\efspdm-02\e$\archive`. Please use a double backslash for each single back slash for example: > > "path" : `\\\\efspdm-02\\f$\\archive` > > > > 1. This process will not create a new folder. To do that use Windows File Explorer. > 2. After setting this up, all new images will be archived to the new location, but searches for older documents will still pull images from the old location.