> For the complete documentation index, see [llms.txt](https://documentation.atempo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.atempo.com/lina-7.4/lina-7.4-en/release-information/rest-api-reference/administration/predefined-paths.md). Agents can also search and read this documentation through its [MCP server](https://documentation.atempo.com/~gitbook/mcp).

# Predefined Paths

Predefined paths management

## List predefined paths

> List all predefined paths

```json
{"openapi":"3.0.1","info":{"title":"Lina Admin API","version":"7.3.0"},"tags":[{"name":"PredefinedPaths","description":"Predefined paths management"}],"servers":[{"url":"/"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"OSSpecific":{"type":"string","enum":["WIN","MAC","ALL"],"description":"Specific profile for OS:\n* WIN - Windows\n* MAC - MacOS\n* ALL - All OS\n","default":"ALL"},"Path":{"type":"string","description":"Path"},"StatusCode":{"type":"integer","format":"int32","enum":[0,1,3,4,5,6,7,8,9,10,11,13,103,105,106,107,108,109,111,199,999],"description":"Status code:\n* 0 - HSX_ADMIN_OK (OK)\n* 1 - HSX_ADMIN_ERR_UNDEFID (Undefined ID)\n* 3 - HSX_ADMIN_ERR_REFERENCED (Object if referenced)\n* 4 - HSX_ADMIN_ERR_NAMEALREADYEXISTS (Name already exists)\n* 5 - HSX_ADMIN_ERR_UNDEFREFID (Undefined referenced ID)\n* 6 - HSX_ADMIN_ERR_PARAM (Bad parameter)\n* 7 - HSX_ADMIN_ERR_IMMUTABLE (Immutable)\n* 8 - HSX_ADMIN_ERR_BADPATH (Bad path format)\n* 9 - HSX_ADMIN_ERR_BADEXT (Bad extension format)\n* 10 - HSX_ADMIN_ERR_BADNAME (Bad name format)\n* 11 - HSX_ADMIN_ERR_BUFFERTOOSHORT (Buffer too short)\n* 13 - HSX_ADMIN_ERR_PERM (Authentification error)\n* 103 - HSX_ADMIN_ERR_XML (Bad XML format)\n* 105 - HSX_ADMIN_ERR_MEM (Memory allocation issue)\n* 106 - HSX_ADMIN_ERR_DEL (Agent is waiting for deletion)\n* 107 - HSX_ADMIN_ERR_BAD_DATA_HEADER (POST data not prefixed with 'data=' or '<?xml')\n* 108 - HSX_ADMIN_ERR_BAD_COMMAND (Bad command)\n* 109 - HSX_ADMIN_ERR_BAD_DATA (Cannot get POST data)\n* 111 - HSX_ADMIN_ERR_NONEX (Object does not exist)\n* 199 - HSX_ADMIN_ERR_INT (Internal error)\n* 999 - HSX_ADMIN_ERR (Generic error)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["HSX_ADMIN_OK","HSX_ADMIN_ERR_UNDEFID","HSX_ADMIN_ERR_REFERENCED","HSX_ADMIN_ERR_NAMEALREADYEXISTS","HSX_ADMIN_ERR_UNDEFREFID","HSX_ADMIN_ERR_PARAM","HSX_ADMIN_ERR_IMMUTABLE","HSX_ADMIN_ERR_BADPATH","HSX_ADMIN_ERR_BADEXT","HSX_ADMIN_ERR_BADNAME","HSX_ADMIN_ERR_BUFFERTOOSHORT","HSX_ADMIN_ERR_PERM","HSX_ADMIN_ERR_XML","HSX_ADMIN_ERR_MEM","HSX_ADMIN_ERR_DEL","HSX_ADMIN_ERR_BAD_DATA_HEADER","HSX_ADMIN_ERR_BAD_COMMAND","HSX_ADMIN_ERR_BAD_DATA","HSX_ADMIN_ERR_NONEX","HSX_ADMIN_ERR_INT","HSX_ADMIN_ERR"],"default":"HSX_ADMIN_OK"}}},"paths":{"/lst_predefinedpaths.json":{"get":{"tags":["PredefinedPaths"],"summary":"List predefined paths","description":"List all predefined paths","operationId":"lst_predefinedpaths","parameters":[{"name":"domain_id","in":"query","description":"List predefined paths of tenant ID 'domain_id' (reserved for super-admin)","required":false,"schema":{"type":"integer","format":"int32"}},{"name":"id","in":"query","description":"List only predefined path ID 'id'","required":false,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"PredefinedPathArray":{"type":"array","items":{"type":"object","properties":{"ID":{"type":"integer","format":"int32","description":"ID of the predefined path"},"Name":{"type":"string","description":"Name of the predefined path"},"DomainID":{"type":"integer","format":"int32","description":"ID of the tenant owning the predefined path"},"DomainName":{"type":"string","description":"Name of the tenant owning the predefined path","nullable":true},"CustomRef":{"type":"boolean","description":"Is a custom ref?","default":false},"NbRef":{"type":"integer","format":"int32","description":"Number of references","default":0},"OS":{"$ref":"#/components/schemas/OSSpecific"},"Path":{"$ref":"#/components/schemas/Path"}}}},"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## Create a new predefined path

> Create a new predefined path

```json
{"openapi":"3.0.1","info":{"title":"Lina Admin API","version":"7.3.0"},"tags":[{"name":"PredefinedPaths","description":"Predefined paths management"}],"servers":[{"url":"/"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"Path":{"type":"string","description":"Path"},"StatusWithID":{"type":"object","properties":{"id":{"type":"integer","format":"int32","description":"ID of the new object"},"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}},"StatusCode":{"type":"integer","format":"int32","enum":[0,1,3,4,5,6,7,8,9,10,11,13,103,105,106,107,108,109,111,199,999],"description":"Status code:\n* 0 - HSX_ADMIN_OK (OK)\n* 1 - HSX_ADMIN_ERR_UNDEFID (Undefined ID)\n* 3 - HSX_ADMIN_ERR_REFERENCED (Object if referenced)\n* 4 - HSX_ADMIN_ERR_NAMEALREADYEXISTS (Name already exists)\n* 5 - HSX_ADMIN_ERR_UNDEFREFID (Undefined referenced ID)\n* 6 - HSX_ADMIN_ERR_PARAM (Bad parameter)\n* 7 - HSX_ADMIN_ERR_IMMUTABLE (Immutable)\n* 8 - HSX_ADMIN_ERR_BADPATH (Bad path format)\n* 9 - HSX_ADMIN_ERR_BADEXT (Bad extension format)\n* 10 - HSX_ADMIN_ERR_BADNAME (Bad name format)\n* 11 - HSX_ADMIN_ERR_BUFFERTOOSHORT (Buffer too short)\n* 13 - HSX_ADMIN_ERR_PERM (Authentification error)\n* 103 - HSX_ADMIN_ERR_XML (Bad XML format)\n* 105 - HSX_ADMIN_ERR_MEM (Memory allocation issue)\n* 106 - HSX_ADMIN_ERR_DEL (Agent is waiting for deletion)\n* 107 - HSX_ADMIN_ERR_BAD_DATA_HEADER (POST data not prefixed with 'data=' or '<?xml')\n* 108 - HSX_ADMIN_ERR_BAD_COMMAND (Bad command)\n* 109 - HSX_ADMIN_ERR_BAD_DATA (Cannot get POST data)\n* 111 - HSX_ADMIN_ERR_NONEX (Object does not exist)\n* 199 - HSX_ADMIN_ERR_INT (Internal error)\n* 999 - HSX_ADMIN_ERR (Generic error)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["HSX_ADMIN_OK","HSX_ADMIN_ERR_UNDEFID","HSX_ADMIN_ERR_REFERENCED","HSX_ADMIN_ERR_NAMEALREADYEXISTS","HSX_ADMIN_ERR_UNDEFREFID","HSX_ADMIN_ERR_PARAM","HSX_ADMIN_ERR_IMMUTABLE","HSX_ADMIN_ERR_BADPATH","HSX_ADMIN_ERR_BADEXT","HSX_ADMIN_ERR_BADNAME","HSX_ADMIN_ERR_BUFFERTOOSHORT","HSX_ADMIN_ERR_PERM","HSX_ADMIN_ERR_XML","HSX_ADMIN_ERR_MEM","HSX_ADMIN_ERR_DEL","HSX_ADMIN_ERR_BAD_DATA_HEADER","HSX_ADMIN_ERR_BAD_COMMAND","HSX_ADMIN_ERR_BAD_DATA","HSX_ADMIN_ERR_NONEX","HSX_ADMIN_ERR_INT","HSX_ADMIN_ERR"],"default":"HSX_ADMIN_OK"}}},"paths":{"/mng_predefinedpath.json#ADD":{"post":{"tags":["PredefinedPaths"],"summary":"Create a new predefined path","description":"Create a new predefined path","operationId":"mng_predefinedpath_add","requestBody":{"description":"Parameters","content":{"application/xml":{"schema":{"type":"object","required":["Func","PredefinedPath"],"properties":{"Func":{"type":"string","description":"Operation","enum":["ADD"],"default":"ADD"},"PredefinedPath":{"type":"object","required":["Name"],"properties":{"Name":{"type":"string","description":"Name of the new predefined path"},"Path":{"$ref":"#/components/schemas/Path"}}}},"xml":{"name":"HNConfig"}}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusWithID"}}}}}}}}}
```

## Update a predefined path

> Update a predefined path

```json
{"openapi":"3.0.1","info":{"title":"Lina Admin API","version":"7.3.0"},"tags":[{"name":"PredefinedPaths","description":"Predefined paths management"}],"servers":[{"url":"/"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"Path":{"type":"string","description":"Path"},"Status":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}},"StatusCode":{"type":"integer","format":"int32","enum":[0,1,3,4,5,6,7,8,9,10,11,13,103,105,106,107,108,109,111,199,999],"description":"Status code:\n* 0 - HSX_ADMIN_OK (OK)\n* 1 - HSX_ADMIN_ERR_UNDEFID (Undefined ID)\n* 3 - HSX_ADMIN_ERR_REFERENCED (Object if referenced)\n* 4 - HSX_ADMIN_ERR_NAMEALREADYEXISTS (Name already exists)\n* 5 - HSX_ADMIN_ERR_UNDEFREFID (Undefined referenced ID)\n* 6 - HSX_ADMIN_ERR_PARAM (Bad parameter)\n* 7 - HSX_ADMIN_ERR_IMMUTABLE (Immutable)\n* 8 - HSX_ADMIN_ERR_BADPATH (Bad path format)\n* 9 - HSX_ADMIN_ERR_BADEXT (Bad extension format)\n* 10 - HSX_ADMIN_ERR_BADNAME (Bad name format)\n* 11 - HSX_ADMIN_ERR_BUFFERTOOSHORT (Buffer too short)\n* 13 - HSX_ADMIN_ERR_PERM (Authentification error)\n* 103 - HSX_ADMIN_ERR_XML (Bad XML format)\n* 105 - HSX_ADMIN_ERR_MEM (Memory allocation issue)\n* 106 - HSX_ADMIN_ERR_DEL (Agent is waiting for deletion)\n* 107 - HSX_ADMIN_ERR_BAD_DATA_HEADER (POST data not prefixed with 'data=' or '<?xml')\n* 108 - HSX_ADMIN_ERR_BAD_COMMAND (Bad command)\n* 109 - HSX_ADMIN_ERR_BAD_DATA (Cannot get POST data)\n* 111 - HSX_ADMIN_ERR_NONEX (Object does not exist)\n* 199 - HSX_ADMIN_ERR_INT (Internal error)\n* 999 - HSX_ADMIN_ERR (Generic error)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["HSX_ADMIN_OK","HSX_ADMIN_ERR_UNDEFID","HSX_ADMIN_ERR_REFERENCED","HSX_ADMIN_ERR_NAMEALREADYEXISTS","HSX_ADMIN_ERR_UNDEFREFID","HSX_ADMIN_ERR_PARAM","HSX_ADMIN_ERR_IMMUTABLE","HSX_ADMIN_ERR_BADPATH","HSX_ADMIN_ERR_BADEXT","HSX_ADMIN_ERR_BADNAME","HSX_ADMIN_ERR_BUFFERTOOSHORT","HSX_ADMIN_ERR_PERM","HSX_ADMIN_ERR_XML","HSX_ADMIN_ERR_MEM","HSX_ADMIN_ERR_DEL","HSX_ADMIN_ERR_BAD_DATA_HEADER","HSX_ADMIN_ERR_BAD_COMMAND","HSX_ADMIN_ERR_BAD_DATA","HSX_ADMIN_ERR_NONEX","HSX_ADMIN_ERR_INT","HSX_ADMIN_ERR"],"default":"HSX_ADMIN_OK"}}},"paths":{"/mng_predefinedpath.json#SET":{"post":{"tags":["PredefinedPaths"],"summary":"Update a predefined path","description":"Update a predefined path","operationId":"mng_predefinedpath_set","requestBody":{"description":"Parameters","content":{"application/xml":{"schema":{"type":"object","required":["Func","PredefinedPath"],"properties":{"Func":{"type":"string","description":"Operation","enum":["SET"],"default":"SET"},"PredefinedPath":{"type":"object","required":["ID"],"properties":{"ID":{"type":"integer","format":"int32","description":"ID of the predefined path"},"Path":{"$ref":"#/components/schemas/Path"}}}},"xml":{"name":"HNConfig"}}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## Rename a predefined path

> Rename a predefined path

```json
{"openapi":"3.0.1","info":{"title":"Lina Admin API","version":"7.3.0"},"tags":[{"name":"PredefinedPaths","description":"Predefined paths management"}],"servers":[{"url":"/"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"Status":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}},"StatusCode":{"type":"integer","format":"int32","enum":[0,1,3,4,5,6,7,8,9,10,11,13,103,105,106,107,108,109,111,199,999],"description":"Status code:\n* 0 - HSX_ADMIN_OK (OK)\n* 1 - HSX_ADMIN_ERR_UNDEFID (Undefined ID)\n* 3 - HSX_ADMIN_ERR_REFERENCED (Object if referenced)\n* 4 - HSX_ADMIN_ERR_NAMEALREADYEXISTS (Name already exists)\n* 5 - HSX_ADMIN_ERR_UNDEFREFID (Undefined referenced ID)\n* 6 - HSX_ADMIN_ERR_PARAM (Bad parameter)\n* 7 - HSX_ADMIN_ERR_IMMUTABLE (Immutable)\n* 8 - HSX_ADMIN_ERR_BADPATH (Bad path format)\n* 9 - HSX_ADMIN_ERR_BADEXT (Bad extension format)\n* 10 - HSX_ADMIN_ERR_BADNAME (Bad name format)\n* 11 - HSX_ADMIN_ERR_BUFFERTOOSHORT (Buffer too short)\n* 13 - HSX_ADMIN_ERR_PERM (Authentification error)\n* 103 - HSX_ADMIN_ERR_XML (Bad XML format)\n* 105 - HSX_ADMIN_ERR_MEM (Memory allocation issue)\n* 106 - HSX_ADMIN_ERR_DEL (Agent is waiting for deletion)\n* 107 - HSX_ADMIN_ERR_BAD_DATA_HEADER (POST data not prefixed with 'data=' or '<?xml')\n* 108 - HSX_ADMIN_ERR_BAD_COMMAND (Bad command)\n* 109 - HSX_ADMIN_ERR_BAD_DATA (Cannot get POST data)\n* 111 - HSX_ADMIN_ERR_NONEX (Object does not exist)\n* 199 - HSX_ADMIN_ERR_INT (Internal error)\n* 999 - HSX_ADMIN_ERR (Generic error)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["HSX_ADMIN_OK","HSX_ADMIN_ERR_UNDEFID","HSX_ADMIN_ERR_REFERENCED","HSX_ADMIN_ERR_NAMEALREADYEXISTS","HSX_ADMIN_ERR_UNDEFREFID","HSX_ADMIN_ERR_PARAM","HSX_ADMIN_ERR_IMMUTABLE","HSX_ADMIN_ERR_BADPATH","HSX_ADMIN_ERR_BADEXT","HSX_ADMIN_ERR_BADNAME","HSX_ADMIN_ERR_BUFFERTOOSHORT","HSX_ADMIN_ERR_PERM","HSX_ADMIN_ERR_XML","HSX_ADMIN_ERR_MEM","HSX_ADMIN_ERR_DEL","HSX_ADMIN_ERR_BAD_DATA_HEADER","HSX_ADMIN_ERR_BAD_COMMAND","HSX_ADMIN_ERR_BAD_DATA","HSX_ADMIN_ERR_NONEX","HSX_ADMIN_ERR_INT","HSX_ADMIN_ERR"],"default":"HSX_ADMIN_OK"}}},"paths":{"/mng_predefinedpath.json#REN":{"post":{"tags":["PredefinedPaths"],"summary":"Rename a predefined path","description":"Rename a predefined path","operationId":"mng_predefinedpath_ren","requestBody":{"description":"Parameters","content":{"application/xml":{"schema":{"type":"object","required":["Func","PredefinedPath"],"properties":{"Func":{"type":"string","description":"Operation","enum":["REN"],"default":"REN"},"PredefinedPath":{"type":"object","required":["ID","Name"],"properties":{"ID":{"type":"integer","format":"int32","description":"ID of the predefined path"},"Name":{"type":"string","description":"New name"}}}},"xml":{"name":"HNConfig"}}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## Delete a predefined path

> Delete a predefined path

```json
{"openapi":"3.0.1","info":{"title":"Lina Admin API","version":"7.3.0"},"tags":[{"name":"PredefinedPaths","description":"Predefined paths management"}],"servers":[{"url":"/"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"Status":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}},"StatusCode":{"type":"integer","format":"int32","enum":[0,1,3,4,5,6,7,8,9,10,11,13,103,105,106,107,108,109,111,199,999],"description":"Status code:\n* 0 - HSX_ADMIN_OK (OK)\n* 1 - HSX_ADMIN_ERR_UNDEFID (Undefined ID)\n* 3 - HSX_ADMIN_ERR_REFERENCED (Object if referenced)\n* 4 - HSX_ADMIN_ERR_NAMEALREADYEXISTS (Name already exists)\n* 5 - HSX_ADMIN_ERR_UNDEFREFID (Undefined referenced ID)\n* 6 - HSX_ADMIN_ERR_PARAM (Bad parameter)\n* 7 - HSX_ADMIN_ERR_IMMUTABLE (Immutable)\n* 8 - HSX_ADMIN_ERR_BADPATH (Bad path format)\n* 9 - HSX_ADMIN_ERR_BADEXT (Bad extension format)\n* 10 - HSX_ADMIN_ERR_BADNAME (Bad name format)\n* 11 - HSX_ADMIN_ERR_BUFFERTOOSHORT (Buffer too short)\n* 13 - HSX_ADMIN_ERR_PERM (Authentification error)\n* 103 - HSX_ADMIN_ERR_XML (Bad XML format)\n* 105 - HSX_ADMIN_ERR_MEM (Memory allocation issue)\n* 106 - HSX_ADMIN_ERR_DEL (Agent is waiting for deletion)\n* 107 - HSX_ADMIN_ERR_BAD_DATA_HEADER (POST data not prefixed with 'data=' or '<?xml')\n* 108 - HSX_ADMIN_ERR_BAD_COMMAND (Bad command)\n* 109 - HSX_ADMIN_ERR_BAD_DATA (Cannot get POST data)\n* 111 - HSX_ADMIN_ERR_NONEX (Object does not exist)\n* 199 - HSX_ADMIN_ERR_INT (Internal error)\n* 999 - HSX_ADMIN_ERR (Generic error)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["HSX_ADMIN_OK","HSX_ADMIN_ERR_UNDEFID","HSX_ADMIN_ERR_REFERENCED","HSX_ADMIN_ERR_NAMEALREADYEXISTS","HSX_ADMIN_ERR_UNDEFREFID","HSX_ADMIN_ERR_PARAM","HSX_ADMIN_ERR_IMMUTABLE","HSX_ADMIN_ERR_BADPATH","HSX_ADMIN_ERR_BADEXT","HSX_ADMIN_ERR_BADNAME","HSX_ADMIN_ERR_BUFFERTOOSHORT","HSX_ADMIN_ERR_PERM","HSX_ADMIN_ERR_XML","HSX_ADMIN_ERR_MEM","HSX_ADMIN_ERR_DEL","HSX_ADMIN_ERR_BAD_DATA_HEADER","HSX_ADMIN_ERR_BAD_COMMAND","HSX_ADMIN_ERR_BAD_DATA","HSX_ADMIN_ERR_NONEX","HSX_ADMIN_ERR_INT","HSX_ADMIN_ERR"],"default":"HSX_ADMIN_OK"}}},"paths":{"/mng_predefinedpath.json#DEL":{"post":{"tags":["PredefinedPaths"],"summary":"Delete a predefined path","description":"Delete a predefined path","operationId":"mng_predefinedpath_del","requestBody":{"description":"Parameters","content":{"application/xml":{"schema":{"type":"object","required":["Func","PredefinedPath"],"properties":{"Func":{"type":"string","description":"Operation","enum":["DEL"],"default":"DEL"},"PredefinedPath":{"type":"object","required":["ID"],"properties":{"ID":{"type":"integer","format":"int32","description":"ID of the predefined path to delete"}}}},"xml":{"name":"HNConfig"}}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## Copy a predefined path

> Copy a predefined path to another tenant

```json
{"openapi":"3.0.1","info":{"title":"Lina Admin API","version":"7.3.0"},"tags":[{"name":"PredefinedPaths","description":"Predefined paths management"}],"servers":[{"url":"/"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"Status":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}},"StatusCode":{"type":"integer","format":"int32","enum":[0,1,3,4,5,6,7,8,9,10,11,13,103,105,106,107,108,109,111,199,999],"description":"Status code:\n* 0 - HSX_ADMIN_OK (OK)\n* 1 - HSX_ADMIN_ERR_UNDEFID (Undefined ID)\n* 3 - HSX_ADMIN_ERR_REFERENCED (Object if referenced)\n* 4 - HSX_ADMIN_ERR_NAMEALREADYEXISTS (Name already exists)\n* 5 - HSX_ADMIN_ERR_UNDEFREFID (Undefined referenced ID)\n* 6 - HSX_ADMIN_ERR_PARAM (Bad parameter)\n* 7 - HSX_ADMIN_ERR_IMMUTABLE (Immutable)\n* 8 - HSX_ADMIN_ERR_BADPATH (Bad path format)\n* 9 - HSX_ADMIN_ERR_BADEXT (Bad extension format)\n* 10 - HSX_ADMIN_ERR_BADNAME (Bad name format)\n* 11 - HSX_ADMIN_ERR_BUFFERTOOSHORT (Buffer too short)\n* 13 - HSX_ADMIN_ERR_PERM (Authentification error)\n* 103 - HSX_ADMIN_ERR_XML (Bad XML format)\n* 105 - HSX_ADMIN_ERR_MEM (Memory allocation issue)\n* 106 - HSX_ADMIN_ERR_DEL (Agent is waiting for deletion)\n* 107 - HSX_ADMIN_ERR_BAD_DATA_HEADER (POST data not prefixed with 'data=' or '<?xml')\n* 108 - HSX_ADMIN_ERR_BAD_COMMAND (Bad command)\n* 109 - HSX_ADMIN_ERR_BAD_DATA (Cannot get POST data)\n* 111 - HSX_ADMIN_ERR_NONEX (Object does not exist)\n* 199 - HSX_ADMIN_ERR_INT (Internal error)\n* 999 - HSX_ADMIN_ERR (Generic error)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["HSX_ADMIN_OK","HSX_ADMIN_ERR_UNDEFID","HSX_ADMIN_ERR_REFERENCED","HSX_ADMIN_ERR_NAMEALREADYEXISTS","HSX_ADMIN_ERR_UNDEFREFID","HSX_ADMIN_ERR_PARAM","HSX_ADMIN_ERR_IMMUTABLE","HSX_ADMIN_ERR_BADPATH","HSX_ADMIN_ERR_BADEXT","HSX_ADMIN_ERR_BADNAME","HSX_ADMIN_ERR_BUFFERTOOSHORT","HSX_ADMIN_ERR_PERM","HSX_ADMIN_ERR_XML","HSX_ADMIN_ERR_MEM","HSX_ADMIN_ERR_DEL","HSX_ADMIN_ERR_BAD_DATA_HEADER","HSX_ADMIN_ERR_BAD_COMMAND","HSX_ADMIN_ERR_BAD_DATA","HSX_ADMIN_ERR_NONEX","HSX_ADMIN_ERR_INT","HSX_ADMIN_ERR"],"default":"HSX_ADMIN_OK"}}},"paths":{"/mng_predefinedpath.json#CPY":{"post":{"tags":["PredefinedPaths"],"summary":"Copy a predefined path","description":"Copy a predefined path to another tenant","operationId":"mng_predefinedpath_cpy","requestBody":{"description":"Parameters","content":{"application/xml":{"schema":{"type":"object","required":["Func","PredefinedPath"],"properties":{"Func":{"type":"string","description":"Operation","enum":["CPY"],"default":"CPY"},"PredefinedPath":{"type":"object","required":["ID","DomainID"],"properties":{"ID":{"type":"integer","format":"int32","description":"ID of the predefined path to copy"},"DomainID":{"type":"integer","format":"int32","description":"ID of the destination tenant"}}}},"xml":{"name":"HNConfig"}}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://documentation.atempo.com/lina-7.4/lina-7.4-en/release-information/rest-api-reference/administration/predefined-paths.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
