> 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/service-profiles.md). Agents can also search and read this documentation through its [MCP server](https://documentation.atempo.com/~gitbook/mcp).

# Service Profiles

Strategy profiles management

## List strategy profiles

> List all strategy profiles

```json
{"openapi":"3.0.1","info":{"title":"Lina Admin API","version":"7.3.0"},"tags":[{"name":"ServiceProfiles","description":"Strategy profiles management"}],"servers":[{"url":"/"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"BackupRestriction":{"type":"array","items":{"type":"object","properties":{"ParamBackupRestrictionIntf":{"type":"string","enum":["Ethernet","Token Ring","PPP","Loopback","WiFi"],"description":"Backup only through this network interface:\n* Ethernet\n* Token Ring\n* PPP\n* Loopback\n* WiFi\n"},"ParamBackupRestrictionGW":{"type":"string","description":"Backup only through this gateway"}},"xml":{"name":"ParamBackupRestriction"}},"xml":{"wrapped":true}},"BackupRestrictionSchedule":{"type":"string","description":"On / off backup schedule"},"EncryptionGW":{"type":"array","items":{"type":"string","description":"Do not encrypt when using this gateway","xml":{"name":"ParamEncryptionGW"}},"xml":{"wrapped":true}},"WanGW":{"type":"array","items":{"type":"string","description":"Do not use WAN mode when using this gateway","xml":{"name":"ParamWanGW"}},"xml":{"wrapped":true}},"Compression":{"type":"string","enum":["RAW","ZLIB","ZLIBFAST","ZLIBMID","ZLIBSLOW","LZMA","LZF","BROTLI","ZSTD"],"description":"Compression algorithm:\n* RAW - No compression\n* ZLIB - Default zlib\n* ZLIBFAST - Fast zlib\n* ZLIBMID - Medium zlib\n* ZLIBSLOW - Slow zlib\n* LZMA - LZMA\n* LZF - LZF\n* BROTLI - Brotli\n* ZSTD - Zstandard\n"},"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_serviceprofiles.json":{"get":{"tags":["ServiceProfiles"],"summary":"List strategy profiles","description":"List all strategy profiles","operationId":"lst_serviceprofiles","parameters":[{"name":"domain_id","in":"query","description":"List strategy profiles of tenant ID 'domain_id' (reserved for super-admin)","required":false,"schema":{"type":"integer","format":"int32"}},{"name":"id","in":"query","description":"List only strategy profile ID 'id'","required":false,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"ServiceProfileArray":{"type":"array","items":{"type":"object","properties":{"ID":{"type":"integer","format":"int32","description":"ID of the startegy profile"},"Name":{"type":"string","description":"Name of the strategy profile","default":"ServiceProfile name"},"DomainID":{"type":"integer","format":"int32","description":"ID of the tenant owning the strategy profile"},"DomainName":{"type":"string","description":"Name of the tenant owning the strategy profile","nullable":true},"CustomRef":{"type":"boolean","description":"Is a custom ref?","default":false},"NbRef":{"type":"integer","format":"int32","description":"Number of references","default":0},"ParamSchedule":{"type":"integer","format":"int32","description":"RPO (s)"},"ParamAlertTime":{"type":"integer","format":"int32","description":"Alert if no synchronization of client for at least this time (s)"},"ParamInactivityTime":{"type":"integer","format":"int32","description":"Alert if no connection of client for at least this time (s)"},"ParamDataAging":{"type":"integer","format":"int32","description":"Retention time (days) ; 0 if no ageing"},"ParamRetentionTimeRepl":{"type":"integer","format":"int32","description":"Retention time of replicate (days) ; 0 if no ageing"},"ParamThroughputLimit":{"type":"integer","format":"int32","description":"Throughput limit (KB/s)","default":0},"ParamBackupRestrictionActivated":{"type":"boolean","description":"Backup restriction?","default":false},"ParamBackupRestrictionArray":{"type":"array","items":{"$ref":"#/components/schemas/BackupRestriction"}},"ParamBackupRestrictionSchedule":{"$ref":"#/components/schemas/BackupRestrictionSchedule"},"ParamEncryptionActivated":{"type":"boolean","description":"Encryption?","default":false},"ParamEncryptionGWArray":{"type":"array","items":{"$ref":"#/components/schemas/EncryptionGW"}},"ParamWanActivated":{"type":"boolean","description":"WAN?","default":false},"ParamWanGWArray":{"type":"array","items":{"$ref":"#/components/schemas/WanGW"}},"ParamCompression":{"$ref":"#/components/schemas/Compression"},"ParamCacheMode":{"type":"boolean","description":"Cache?","default":false},"ParamCacheSize":{"type":"integer","format":"int32","description":"Cache size (%)","default":0},"ParamQuotaMaxProtSize":{"type":"integer","format":"int64","description":"Quota of max protected size (B)","default":0},"ParamQuotaMaxProtObjs":{"type":"integer","format":"int32","description":"Quota of max protected objects","default":0},"ParamQuotaMaxHistSize":{"type":"integer","format":"int64","description":"Quota of max restorable size (B)","default":0},"ParamQuotaMaxHistObjs":{"type":"integer","format":"int32","description":"Quota of max restorable objects","default":0},"ParamAllowClientRules":{"type":"boolean","description":"Allow the use of agent rules?","default":true},"ParamAllowClientPause":{"type":"boolean","description":"Allow agent to pause protection?","default":true},"ParamAllowClientBoost":{"type":"boolean","description":"Allow agent to use Boost mode?","default":true},"ParamAllowClientNetworkParams":{"type":"boolean","description":"Allow agent to modify the network parameters?","default":true},"ParamAllowClientRPO":{"type":"boolean","description":"Allow agent to modify the Recovery Point Objective?","default":true},"ParamAllowWebAccess":{"type":"boolean","description":"Allow Web restore for this agent?","default":false},"ParamAllowFullBrowse":{"type":"boolean","description":"Allow agent to browse outside user home directory?","default":true},"ParamAllowVolumesMgmt":{"type":"boolean","description":"Allow agent to manage the disk volumes?","default":true},"ParamAllowRestore":{"type":"boolean","description":"Allow agent to restore data?","default":true},"ParamAllowRemoteServer":{"type":"boolean","description":"Allow agent to connect a remote server?","default":true},"ParamAllowCrossRestore":{"type":"boolean","description":"Allow agent to connect a source agent for cross restore?","default":true},"RepliTarget":{"type":"object","properties":{"ID":{"type":"integer","format":"int32","description":"ID of the replication target profile"},"Name":{"type":"string","description":"Name of the replication target profile"}},"nullable":true}}}},"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## Create a new strategy profile

> Create a new strategy profile

```json
{"openapi":"3.0.1","info":{"title":"Lina Admin API","version":"7.3.0"},"tags":[{"name":"ServiceProfiles","description":"Strategy profiles management"}],"servers":[{"url":"/"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"BackupRestriction":{"type":"array","items":{"type":"object","properties":{"ParamBackupRestrictionIntf":{"type":"string","enum":["Ethernet","Token Ring","PPP","Loopback","WiFi"],"description":"Backup only through this network interface:\n* Ethernet\n* Token Ring\n* PPP\n* Loopback\n* WiFi\n"},"ParamBackupRestrictionGW":{"type":"string","description":"Backup only through this gateway"}},"xml":{"name":"ParamBackupRestriction"}},"xml":{"wrapped":true}},"BackupRestrictionSchedule":{"type":"string","description":"On / off backup schedule"},"EncryptionGW":{"type":"array","items":{"type":"string","description":"Do not encrypt when using this gateway","xml":{"name":"ParamEncryptionGW"}},"xml":{"wrapped":true}},"WanGW":{"type":"array","items":{"type":"string","description":"Do not use WAN mode when using this gateway","xml":{"name":"ParamWanGW"}},"xml":{"wrapped":true}},"Compression":{"type":"string","enum":["RAW","ZLIB","ZLIBFAST","ZLIBMID","ZLIBSLOW","LZMA","LZF","BROTLI","ZSTD"],"description":"Compression algorithm:\n* RAW - No compression\n* ZLIB - Default zlib\n* ZLIBFAST - Fast zlib\n* ZLIBMID - Medium zlib\n* ZLIBSLOW - Slow zlib\n* LZMA - LZMA\n* LZF - LZF\n* BROTLI - Brotli\n* ZSTD - Zstandard\n"},"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_serviceprofile.json#ADD":{"post":{"tags":["ServiceProfiles"],"summary":"Create a new strategy profile","description":"Create a new strategy profile","operationId":"mng_serviceprofile_add","requestBody":{"description":"Parameters","content":{"application/xml":{"schema":{"type":"object","required":["Func","ServiceProfile"],"properties":{"Func":{"type":"string","description":"Operation","enum":["ADD"],"default":"ADD"},"ServiceProfile":{"type":"object","required":["Name"],"properties":{"Name":{"type":"string","description":"Name of the new strategy profile"},"ParamSchedule":{"type":"integer","format":"int32","description":"RPO (s)"},"ParamAlertTime":{"type":"integer","format":"int32","description":"Alert if no synchronization of client for at least this time (s)"},"ParamInactivityTime":{"type":"integer","format":"int32","description":"Alert if no connection of client for at least this time (s)"},"ParamDataAging":{"type":"integer","format":"int32","description":"Retention time (days)"},"ParamRetentionTimeRepl":{"type":"integer","format":"int32","description":"Retention time of replicate (days)"},"ParamThroughputLimit":{"type":"integer","format":"int32","description":"Throughput limit (KB/s)","default":0},"ParamBackupRestrictionActivated":{"type":"integer","format":"int32","description":"Backup restriction? (0/1)","default":0},"ParamBackupRestrictionArray":{"type":"array","items":{"$ref":"#/components/schemas/BackupRestriction"}},"ParamBackupRestrictionSchedule":{"$ref":"#/components/schemas/BackupRestrictionSchedule"},"ParamEncryptionActivated":{"type":"integer","format":"int32","description":"Encryption? (0/1)","default":0},"ParamEncryptionGWArray":{"type":"array","items":{"$ref":"#/components/schemas/EncryptionGW"}},"ParamWanActivated":{"type":"integer","format":"int32","description":"WAN? (0/1)","default":0},"ParamWanGWArray":{"type":"array","items":{"$ref":"#/components/schemas/WanGW"}},"ParamCompression":{"$ref":"#/components/schemas/Compression"},"ParamCacheMode":{"type":"integer","format":"int32","description":"Cache? (0/1)","default":0},"ParamCacheSize":{"type":"integer","format":"int32","description":"Cache size (%)","default":0},"ParamQuotaMaxProtSize":{"type":"integer","format":"int64","description":"Quota of max protected size (B)","default":0},"ParamQuotaMaxProtObjs":{"type":"integer","format":"int32","description":"Quota of max protected objects","default":0},"ParamQuotaMaxHistSize":{"type":"integer","format":"int64","description":"Quota of max restorable size (B)","default":0},"ParamQuotaMaxHistObjs":{"type":"integer","format":"int32","description":"Quota of max restorable objects","default":0},"ParamAllowClientRules":{"type":"integer","format":"int32","description":"Allow agent rules? (0/1)","default":1},"ParamAllowClientPause":{"type":"integer","format":"int32","description":"Allow agent pause? (0/1)","default":1},"ParamAllowClientBoost":{"type":"integer","format":"int32","description":"Allow agent boost? (0/1)","default":1},"ParamAllowClientNetworkParams":{"type":"integer","format":"int32","description":"Allow agent to set network params? (0/1)","default":1},"ParamAllowClientRPO":{"type":"integer","format":"int32","description":"Allow agent to set RPO? (0/1)","default":1},"ParamAllowWebAccess":{"type":"integer","format":"int32","description":"Allow web access for this agent? (0/1)","default":0},"ParamAllowFullBrowse":{"type":"integer","format":"int32","description":"Allow agent to browse outside user directory? (0/1)","default":1},"ParamAllowVolumesMgmt":{"type":"integer","format":"int32","description":"Allow agent to manage the disk volumes? (0/1)","default":1},"ParamAllowRestore":{"type":"integer","format":"int32","description":"Allow agent to restore data? (0/1)","default":1},"ParamAllowRemoteServer":{"type":"integer","format":"int32","description":"Allow agent to connect a remote server? (0/1)","default":1},"ParamAllowCrossRestore":{"type":"integer","format":"int32","description":"Allow agent to connect a source agent for cross restore? (0/1)","default":1},"ParamRepliTargetID":{"type":"integer","format":"int32","description":"ID of the replication target profile"}}}},"xml":{"name":"HNConfig"}}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusWithID"}}}}}}}}}
```

## Update a strategy profile

> Update a strategy profile

```json
{"openapi":"3.0.1","info":{"title":"Lina Admin API","version":"7.3.0"},"tags":[{"name":"ServiceProfiles","description":"Strategy profiles management"}],"servers":[{"url":"/"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"BackupRestriction":{"type":"array","items":{"type":"object","properties":{"ParamBackupRestrictionIntf":{"type":"string","enum":["Ethernet","Token Ring","PPP","Loopback","WiFi"],"description":"Backup only through this network interface:\n* Ethernet\n* Token Ring\n* PPP\n* Loopback\n* WiFi\n"},"ParamBackupRestrictionGW":{"type":"string","description":"Backup only through this gateway"}},"xml":{"name":"ParamBackupRestriction"}},"xml":{"wrapped":true}},"BackupRestrictionSchedule":{"type":"string","description":"On / off backup schedule"},"EncryptionGW":{"type":"array","items":{"type":"string","description":"Do not encrypt when using this gateway","xml":{"name":"ParamEncryptionGW"}},"xml":{"wrapped":true}},"WanGW":{"type":"array","items":{"type":"string","description":"Do not use WAN mode when using this gateway","xml":{"name":"ParamWanGW"}},"xml":{"wrapped":true}},"Compression":{"type":"string","enum":["RAW","ZLIB","ZLIBFAST","ZLIBMID","ZLIBSLOW","LZMA","LZF","BROTLI","ZSTD"],"description":"Compression algorithm:\n* RAW - No compression\n* ZLIB - Default zlib\n* ZLIBFAST - Fast zlib\n* ZLIBMID - Medium zlib\n* ZLIBSLOW - Slow zlib\n* LZMA - LZMA\n* LZF - LZF\n* BROTLI - Brotli\n* ZSTD - Zstandard\n"},"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_serviceprofile.json#SET":{"post":{"tags":["ServiceProfiles"],"summary":"Update a strategy profile","description":"Update a strategy profile","operationId":"mng_serviceprofile_set","requestBody":{"description":"Parameters","content":{"application/xml":{"schema":{"type":"object","required":["Func","ServiceProfile"],"properties":{"Func":{"type":"string","description":"Operation","enum":["SET"],"default":"SET"},"ServiceProfile":{"type":"object","required":["ID"],"properties":{"ID":{"type":"integer","format":"int32","description":"ID of the strategy profile"},"ParamSchedule":{"type":"integer","format":"int32","description":"RPO (s)"},"ParamAlertTime":{"type":"integer","format":"int32","description":"Alert if no synchronization of client for at least this time (s)"},"ParamInactivityTime":{"type":"integer","format":"int32","description":"Alert if no connection of client for at least this time (s)"},"ParamDataAging":{"type":"integer","format":"int32","description":"Retention time (days)"},"ParamRetentionTimeRepl":{"type":"integer","format":"int32","description":"Retention time of replicate (days)"},"ParamThroughputLimit":{"type":"integer","format":"int32","description":"Throughput limit (KB/s)","default":0},"ParamBackupRestrictionActivated":{"type":"integer","format":"int32","description":"Backup restriction? (0/1)","default":0},"ParamBackupRestrictionArray":{"type":"array","items":{"$ref":"#/components/schemas/BackupRestriction"}},"ParamBackupRestrictionSchedule":{"$ref":"#/components/schemas/BackupRestrictionSchedule"},"ParamEncryptionActivated":{"type":"integer","format":"int32","description":"Encryption? (0/1)","default":0},"ParamEncryptionGWArray":{"type":"array","items":{"$ref":"#/components/schemas/EncryptionGW"}},"ParamWanActivated":{"type":"integer","format":"int32","description":"WAN? (0/1)","default":0},"ParamWanGWArray":{"type":"array","items":{"$ref":"#/components/schemas/WanGW"}},"ParamCompression":{"$ref":"#/components/schemas/Compression"},"ParamCacheMode":{"type":"integer","format":"int32","description":"Cache? (0/1)","default":0},"ParamCacheSize":{"type":"integer","format":"int32","description":"Cache size (%)","default":0},"ParamQuotaMaxProtSize":{"type":"integer","format":"int64","description":"Quota of max protected size (B)","default":0},"ParamQuotaMaxProtObjs":{"type":"integer","format":"int32","description":"Quota of max protected objects","default":0},"ParamQuotaMaxHistSize":{"type":"integer","format":"int64","description":"Quota of max restorable size (B)","default":0},"ParamQuotaMaxHistObjs":{"type":"integer","format":"int32","description":"Quota of max restorable objects","default":0},"ParamAllowClientRules":{"type":"integer","format":"int32","description":"Allow agent rules? (0/1)","default":1},"ParamAllowClientPause":{"type":"integer","format":"int32","description":"Allow agent pause? (0/1)","default":1},"ParamAllowClientBoost":{"type":"integer","format":"int32","description":"Allow agent boost? (0/1)","default":1},"ParamAllowClientNetworkParams":{"type":"integer","format":"int32","description":"Allow agent to set network params? (0/1)","default":1},"ParamAllowClientRPO":{"type":"integer","format":"int32","description":"Allow agent to set RPO? (0/1)","default":1},"ParamAllowWebAccess":{"type":"integer","format":"int32","description":"Allow web access for this agent? (0/1)","default":0},"ParamAllowFullBrowse":{"type":"integer","format":"int32","description":"Allow agent to browse outside user directory? (0/1)","default":1},"ParamAllowVolumesMgmt":{"type":"integer","format":"int32","description":"Allow agent to manage the disk volumes? (0/1)","default":1},"ParamAllowRestore":{"type":"integer","format":"int32","description":"Allow agent to restore data? (0/1)","default":1},"ParamAllowRemoteServer":{"type":"integer","format":"int32","description":"Allow agent to connect a remote server? (0/1)","default":1},"ParamAllowCrossRestore":{"type":"integer","format":"int32","description":"Allow agent to connect a source agent for cross restore? (0/1)","default":1},"ParamRepliTargetID":{"type":"integer","format":"int32","description":"ID of the replication target profile"}}}},"xml":{"name":"HNConfig"}}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## Rename a strategy profile

> Rename a strategy profile

```json
{"openapi":"3.0.1","info":{"title":"Lina Admin API","version":"7.3.0"},"tags":[{"name":"ServiceProfiles","description":"Strategy profiles 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_serviceprofile.json#REN":{"post":{"tags":["ServiceProfiles"],"summary":"Rename a strategy profile","description":"Rename a strategy profile","operationId":"mng_serviceprofile_ren","requestBody":{"description":"Parameters","content":{"application/xml":{"schema":{"type":"object","required":["Func","ServiceProfile"],"properties":{"Func":{"type":"string","description":"Operation","enum":["REN"],"default":"REN"},"ServiceProfile":{"type":"object","required":["ID","Name"],"properties":{"ID":{"type":"integer","format":"int32","description":"ID of the strategy profile"},"Name":{"type":"string","description":"New name"}}}},"xml":{"name":"HNConfig"}}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## Delete a strategy profile

> Delete a strategy profile

```json
{"openapi":"3.0.1","info":{"title":"Lina Admin API","version":"7.3.0"},"tags":[{"name":"ServiceProfiles","description":"Strategy profiles 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_serviceprofile.json#DEL":{"post":{"tags":["ServiceProfiles"],"summary":"Delete a strategy profile","description":"Delete a strategy profile","operationId":"mng_serviceprofile_del","requestBody":{"description":"Parameters","content":{"application/xml":{"schema":{"type":"object","required":["Func","ServiceProfile"],"properties":{"Func":{"type":"string","description":"Operation","enum":["DEL"],"default":"DEL"},"ServiceProfile":{"type":"object","required":["ID"],"properties":{"ID":{"type":"integer","format":"int32","description":"ID of the strategy profile to delete"}}}},"xml":{"name":"HNConfig"}}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## Copy a strategy profile

> Copy a strategy profile to another tenant

```json
{"openapi":"3.0.1","info":{"title":"Lina Admin API","version":"7.3.0"},"tags":[{"name":"ServiceProfiles","description":"Strategy profiles 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_serviceprofile.json#CPY":{"post":{"tags":["ServiceProfiles"],"summary":"Copy a strategy profile","description":"Copy a strategy profile to another tenant","operationId":"mng_serviceprofile_cpy","requestBody":{"description":"Parameters","content":{"application/xml":{"schema":{"type":"object","required":["Func","ServiceProfile"],"properties":{"Func":{"type":"string","description":"Operation","enum":["CPY"],"default":"CPY"},"ServiceProfile":{"type":"object","required":["ID","DomainID"],"properties":{"ID":{"type":"integer","format":"int32","description":"ID of the strategy profile 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/service-profiles.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.
