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

# ADM

## User List

> Get the list of users.\
> Roles required: \`CHECK\_LOGGED\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"servers":[{"url":"/"}],"security":[{"APIKeyAuth":[]}],"components":{"securitySchemes":{"APIKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"StatusCode":{"type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"},"User":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"uuid":{"type":"string"},"domain_id":{"type":"integer","format":"int32"},"domain_name":{"type":"string"},"name":{"type":"string"},"comment":{"type":"string"},"custom":{"type":"integer","format":"int32"},"disabled":{"type":"integer","format":"int32"},"type":{"type":"integer","format":"int32"},"totp":{"type":"integer","format":"int32"},"email":{"type":"string"}}}}},"paths":{"/ADM/user.json":{"get":{"tags":["ADM"],"summary":"User List","description":"Get the list of users.\nRoles required: `CHECK_LOGGED`\n","parameters":[{"name":"show","description":"Show hidden user","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"},"users":{"type":"array","items":{"$ref":"#/components/schemas/User"}}}}}}}}}}}}
```

## Add user

> Add a user.\
> Roles required: \`Roles\_isAdmin\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"servers":[{"url":"/"}],"security":[{"APIKeyAuth":[]}],"components":{"securitySchemes":{"APIKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"StatusCode":{"type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/add_user.json":{"get":{"tags":["ADM"],"summary":"Add user","description":"Add a user.\nRoles required: `Roles_isAdmin`\n","parameters":[{"name":"user","description":"User name","in":"query","schema":{"type":"string"}},{"name":"hash","description":"Hash [OPTIONAL] (instead of password)","required":false,"in":"query","schema":{"type":"string"}},{"name":"pass","description":"Password [OPTIONAL] (No need to store LDAP user password)","required":false,"in":"query","schema":{"type":"string"}},{"name":"ug_id","description":"User Group ID or UUID","in":"query","schema":{"type":"string"}},{"name":"type","required":false,"description":"User type [1=local|2=LDAP|3=LDAP group]","in":"query","schema":{"type":"integer"}},{"name":"comment","required":false,"description":"Comment [OPTIONAL]","in":"query","schema":{"type":"string"}},{"name":"disabled","required":false,"description":"User disabled [OPTIONAL]","in":"query","schema":{"type":"integer"}},{"name":"uuid","description":"User UUID","in":"query","schema":{"type":"string"}},{"name":"custom","required":false,"description":"Is it a custom user ? [HIDDEN]","in":"query","schema":{"type":"integer"}},{"name":"hidden","required":false,"description":"Is it an hidden user ? [HIDDEN]","in":"query","schema":{"type":"integer"}},{"name":"key","description":"Double authentication key","in":"query","schema":{"type":"string"}},{"name":"email","description":"User email","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"},"id":{"type":"integer"}}}}}}}}}}}
```

## Delete user

> Delete a user.\
> Roles required: \`Roles\_isAdmin\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"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,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/del_user.json":{"get":{"tags":["ADM"],"summary":"Delete user","description":"Delete a user.\nRoles required: `Roles_isAdmin`\n","parameters":[{"name":"user_id","in":"query","description":"User name","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## Rename user

> Rename a User.\
> Roles required: \`Roles\_isAdmin\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"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,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/rename_user.json":{"get":{"tags":["ADM"],"summary":"Rename user","description":"Rename a User.\nRoles required: `Roles_isAdmin`\n","parameters":[{"name":"user_id","in":"query","description":"Identifier of the user","schema":{"type":"string"}},{"name":"name","in":"query","description":"New user name","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## Change user password

> Change user password.\
> Roles required: \`Roles\_isAdmin\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"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,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/user_set_pass.json":{"get":{"tags":["ADM"],"summary":"Change user password","description":"Change user password.\nRoles required: `Roles_isAdmin`\n","parameters":[{"name":"user_id","description":"Name of the user","in":"query","schema":{"type":"string"}},{"name":"pass","in":"query","description":"Password to change","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## Change user comment

> Change user comment.\
> Roles required: \`Roles\_isAdmin\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"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,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/user_set_comment.json":{"get":{"tags":["ADM"],"summary":"Change user comment","description":"Change user comment.\nRoles required: `Roles_isAdmin`\n","parameters":[{"name":"user_id","in":"query","description":"Name of the user","schema":{"type":"string"}},{"name":"comment","description":"Comment to change","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## Change user email

> Change user email.\
> Roles required: \`Roles\_isAdmin\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"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,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/user_set_email.json":{"get":{"tags":["ADM"],"summary":"Change user email","description":"Change user email.\nRoles required: `Roles_isAdmin`\n","parameters":[{"name":"user_id","description":"Name of the user","in":"query","schema":{"type":"string"}},{"name":"email","description":"Email to change","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## Enable user

> Enable User.\
> Roles required: \`Roles\_isAdmin\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"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,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/user_enable.json":{"get":{"tags":["ADM"],"summary":"Enable user","description":"Enable User.\nRoles required: `Roles_isAdmin`\n","parameters":[{"name":"user_id","description":"Name of the user","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## Disable user

> Disable user (can't sign in).\
> Roles required: \`Roles\_isAdmin\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"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,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/user_disable.json":{"get":{"tags":["ADM"],"summary":"Disable user","description":"Disable user (can't sign in).\nRoles required: `Roles_isAdmin`\n","parameters":[{"name":"user_id","description":"Name of the user","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## Add a User Group

> Add a User Group.\
> Roles required: \`Roles\_isAdmin\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"servers":[{"url":"/"}],"security":[{"APIKeyAuth":[]}],"components":{"securitySchemes":{"APIKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"StatusCode":{"type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/add_user_group.json":{"get":{"tags":["ADM"],"summary":"Add a User Group","description":"Add a User Group.\nRoles required: `Roles_isAdmin`\n","parameters":[{"name":"name","in":"query","description":"Name of the user group","schema":{"type":"string"}},{"name":"comment","description":"Comment [OPTIONAL]","required":false,"in":"query","schema":{"type":"string"}},{"name":"uuid","in":"query","description":"User Group UUID (auto generated if not set) [OPTINAL]","required":false,"schema":{"type":"string"}},{"name":"prof_id","description":"Indentifier of the profile","in":"query","schema":{"type":"integer"}},{"name":"custom","description":"Is it a custom user ? [HIDDEN]","required":false,"in":"query","schema":{"type":"integer"}},{"name":"hidden","description":"Is it a custom user ? [HIDDEN]","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"},"id":{"type":"integer"}}}}}}}}}}}
```

## Rename a User Group

> Rename a User Group.\
> Roles required: \`Roles\_isAdmin\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"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,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/rename_user_group.json":{"get":{"tags":["ADM"],"summary":"Rename a User Group","description":"Rename a User Group.\nRoles required: `Roles_isAdmin`\n","parameters":[{"name":"id","description":"Identifier of the user group","in":"query","schema":{"type":"number"}},{"name":"name","description":"New name of the user group","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## Change User Group comment

> Change User Group comment.\
> Roles required: \`Roles\_isAdmin\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"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,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/ug_set_comment.json":{"get":{"tags":["ADM"],"summary":"Change User Group comment","description":"Change User Group comment.\nRoles required: `Roles_isAdmin`\n","parameters":[{"name":"ug_id","description":"Identifier of the user group","in":"query","schema":{"type":"number"}},{"name":"comment","description":"Comment to change","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## Delete a User Group

> Delete a User Group.\
> Roles required: \`Roles\_isAdmin\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"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,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/del_user_group.json":{"get":{"tags":["ADM"],"summary":"Delete a User Group","description":"Delete a User Group.\nRoles required: `Roles_isAdmin`\n","parameters":[{"name":"id","description":"Identifier of the user group","in":"query","schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## List all User Group

> List all User Group. \
> Roles required: \`Roles\_isAdmin\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"servers":[{"url":"/"}],"security":[{"APIKeyAuth":[]}],"components":{"securitySchemes":{"APIKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"StatusCode":{"type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"},"UserGroup":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"uuid":{"type":"string"},"domain_id":{"type":"integer","format":"int32"},"domain_name":{"type":"string"},"name":{"type":"string"},"custom":{"type":"integer","format":"int32"},"comment":{"type":"string"},"prof_id":{"type":"integer","format":"int32"}}}}},"paths":{"/ADM/list_user_group.json":{"get":{"tags":["ADM"],"summary":"List all User Group","description":"List all User Group. \nRoles required: `Roles_isAdmin`\n","responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"},"user_groups":{"type":"array","items":{"$ref":"#/components/schemas/UserGroup"}}}}}}}}}}}}
```

## Add a Domain

> Add a Domain. \
> Roles required: \`Roles\_canCreateDomains\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"servers":[{"url":"/"}],"security":[{"APIKeyAuth":[]}],"components":{"securitySchemes":{"APIKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"StatusCode":{"type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/add_domain.json":{"get":{"tags":["ADM"],"summary":"Add a Domain","description":"Add a Domain. \nRoles required: `Roles_canCreateDomains`\n","parameters":[{"name":"name","description":"Domain name","in":"query","schema":{"type":"string"}},{"name":"father_id","required":false,"description":"Father domain id","in":"query","schema":{"type":"integer"}},{"name":"comment","description":"Comment","required":false,"in":"query","schema":{"type":"string"}},{"name":"autofocus","required":false,"description":"Set focus on this domain","in":"query","schema":{"type":"integer"}},{"name":"ignore_if_exist","required":false,"description":"ignore_if_exist","in":"query","schema":{"type":"string"}},{"name":"uuid","description":"Hidden and optional (only used by the replication)","required":false,"in":"query","schema":{"type":"string"}},{"name":"source_uuid","description":"Hidden and optional (only used by the replication);","required":false,"in":"query","schema":{"type":"string"}},{"name":"node_uuid","description":"Hidden and optional (only used by the first resync from Slave to Master);","required":false,"in":"query","schema":{"type":"string"}},{"name":"op","description":"Identifier of the operation that generate this request","required":false,"in":"query","schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"},"id":{"type":"integer"}}}}}}}}}}}
```

## Rename a Domain

> Rename a Domain. \
> Roles required: \`Roles\_canViewDomains\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"servers":[{"url":"/"}],"security":[{"APIKeyAuth":[]}],"components":{"securitySchemes":{"APIKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"StatusCode":{"type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/rename_domain.json":{"get":{"tags":["ADM"],"summary":"Rename a Domain","description":"Rename a Domain. \nRoles required: `Roles_canViewDomains`\n","parameters":[{"name":"id","description":"The identifier of the domain","in":"query","schema":{"type":"integer"}},{"name":"domain_uuid","description":"Node UUID that ask for a domain resync","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"},"urls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"}}}}}}}}}}}}}}
```

## Copy admin objects from a Domain to another

> Copy admin objects from a Domain to another.\
> Roles required: \`Roles\_canSetDomains\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"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,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/copy_admin_obj_domain.json":{"get":{"tags":["ADM"],"summary":"Copy admin objects from a Domain to another","description":"Copy admin objects from a Domain to another.\nRoles required: `Roles_canSetDomains`\n","parameters":[{"name":"id_dest","description":"The identifier of the domain destination  (name or uuid or id)","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## Change Domain comment

> Change Domain comment.\
> Roles required: \`Roles\_canSetDomains\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"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,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/domain_set_comment.json":{"get":{"tags":["ADM"],"summary":"Change Domain comment","description":"Change Domain comment.\nRoles required: `Roles_canSetDomains`\n","parameters":[{"name":"id","in":"query","description":"The identifier of the domain (name or uuid or id)","schema":{"type":"string"}},{"name":"comment","description":"Comment to set","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## Delete Domain

> Delete Domain.\
> Roles required: \`Roles\_canDeleteDomains\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"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,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/del_domain.json":{"get":{"tags":["ADM"],"summary":"Delete Domain","description":"Delete Domain.\nRoles required: `Roles_canDeleteDomains`\n","parameters":[{"name":"id","description":"The identifier of the domain","in":"query","schema":{"type":"integer"}},{"name":"force","description":"Force delete","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## List all Domain filters

> List all Domain filters.\
> Roles required: \`Roles\_canViewDomains\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"servers":[{"url":"/"}],"security":[{"APIKeyAuth":[]}],"components":{"securitySchemes":{"APIKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"StatusCode":{"type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"},"DomainFilter":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"domain_id":{"type":"integer","format":"int32"},"domain_name":{"type":"string"},"host":{"type":"string"},"pos":{"type":"integer","format":"int32"}}}}},"paths":{"/ADM/list_domain_filter.json":{"get":{"tags":["ADM"],"summary":"List all Domain filters","description":"List all Domain filters.\nRoles required: `Roles_canViewDomains`\n","responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"},"filters":{"type":"array","items":{"$ref":"#/components/schemas/DomainFilter"}}}}}}}}}}}}
```

## Add a filter to choose the right Domain for a User

> Add a filter to choose the right Domain for a User.\
> Roles required: \`Roles\_canSetDomains\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"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,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/domain_add_filter.json":{"get":{"tags":["ADM"],"summary":"Add a filter to choose the right Domain for a User","description":"Add a filter to choose the right Domain for a User.\nRoles required: `Roles_canSetDomains`\n","parameters":[{"name":"domain_id","description":"The identifier of the domain (name or uuid or id)","in":"query","schema":{"type":"string"}},{"name":"filter","description":"The filter","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## Edit a domain filter

> Edit a domain filter.\
> Roles required: \`Roles\_canSetDomains\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"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,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/domain_edit_filter.json":{"get":{"tags":["ADM"],"summary":"Edit a domain filter","description":"Edit a domain filter.\nRoles required: `Roles_canSetDomains`\n","parameters":[{"name":"id","description":"The identifier of the filter","in":"query","schema":{"type":"integer"}},{"name":"filter","in":"query","schema":{"type":"string"}},{"name":"domain_id","description":"The identifier of the domain (name or uuid or id)","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## Change the order of a Domain filter

> Change the order of a Domain filter.\
> Roles required: \`Roles\_canSetDomains\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"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,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/domain_filter_change_order.json":{"get":{"tags":["ADM"],"summary":"Change the order of a Domain filter","description":"Change the order of a Domain filter.\nRoles required: `Roles_canSetDomains`\n","parameters":[{"name":"id","description":"The identifier of the filter","in":"query","schema":{"type":"integer"}},{"name":"pos","description":"The new position","in":"query","schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## Delete a Domain filter

> Delete a Domain filter.\
> Roles required: \`Roles\_canSetDomains\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"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,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/domain_del_filter.json":{"get":{"tags":["ADM"],"summary":"Delete a Domain filter","description":"Delete a Domain filter.\nRoles required: `Roles_canSetDomains`\n","parameters":[{"name":"id","description":"The identifier of the filter","in":"query","schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## List all Agent filters

> List all Agent filters.\
> Roles required: \`Roles\_canViewDomains\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"servers":[{"url":"/"}],"security":[{"APIKeyAuth":[]}],"components":{"securitySchemes":{"APIKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"StatusCode":{"type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"},"AgentFilter":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"domain_id":{"type":"integer","format":"int32"},"domain_name":{"type":"string"},"ag_id":{"type":"integer","format":"int32"},"strat-id":{"type":"integer","format":"int32"},"type":{"type":"string"},"filter":{"type":"string"},"pos":{"type":"integer","format":"int32"}}}}},"paths":{"/ADM/list_agent_filter.json":{"get":{"tags":["ADM"],"summary":"List all Agent filters","description":"List all Agent filters.\nRoles required: `Roles_canViewDomains`\n","responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"},"filters":{"type":"array","items":{"$ref":"#/components/schemas/AgentFilter"}}}}}}}}}}}}
```

## Add a filter to choose the right Domain for an Agent

> Add a filter to choose the right Domain for an Agent\
> Roles required: \`Roles\_canSetDomains\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"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,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/agent_add_filter.json":{"get":{"tags":["ADM"],"summary":"Add a filter to choose the right Domain for an Agent","description":"Add a filter to choose the right Domain for an Agent\nRoles required: `Roles_canSetDomains`\n","parameters":[{"name":"domain_id","description":"The identifier of the domain (name or uuid or id)","in":"query","schema":{"type":"string"}},{"name":"ag_id","description":"The  identifier of the agent group (0 means default group)","in":"query","required":false,"schema":{"type":"integer"}},{"name":"strat_id","required":false,"description":"The identifier of the strategy id (0 means default strategy)","in":"query","schema":{"type":"integer"}},{"name":"filter","description":"The filter","in":"query","schema":{"type":"string"}},{"name":"type","description":"The type of the filter","required":false,"in":"query","schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## Edit an agent filter

> Edit an agent filter.\
> Roles required: \`Roles\_canSetDomains\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"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,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/agent_edit_filter.json":{"get":{"tags":["ADM"],"summary":"Edit an agent filter","description":"Edit an agent filter.\nRoles required: `Roles_canSetDomains`\n","parameters":[{"name":"id","description":"The identifier of the filter","in":"query","schema":{"type":"integer"}},{"name":"filter","description":"The filter","in":"query","schema":{"type":"string"}},{"name":"type","required":false,"in":"query","description":"the type of the filter","schema":{"type":"integer"}},{"name":"domain_id","required":false,"description":"The identifier of the domain","in":"query","schema":{"type":"integer"}},{"name":"ag_id","required":false,"description":"The identifier of the agent group","in":"query","schema":{"type":"integer"}},{"name":"strat_id","required":false,"description":"The identifier of the strategy","in":"query","schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## Change the order of an agent filter

> Change the order of an agent filter.\
> Roles required: \`Roles\_canSetDomains\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"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,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/agent_filter_change_order.json":{"get":{"tags":["ADM"],"summary":"Change the order of an agent filter","description":"Change the order of an agent filter.\nRoles required: `Roles_canSetDomains`\n","parameters":[{"name":"id","in":"query","description":"The identifier of the filter","schema":{"type":"integer"}},{"name":"pos","description":"The new psotion","in":"query","schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## Delete an agent filter

> Delete an Agent filter.\
> Roles required: \`Roles\_canSetDomains\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"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,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/agent_del_filter.json":{"get":{"tags":["ADM"],"summary":"Delete an agent filter","description":"Delete an Agent filter.\nRoles required: `Roles_canSetDomains`\n","parameters":[{"name":"id","description":"The identifier of the filter to be deleted","in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## Set the Default Domain

> Set the Default Domain.\
> Roles required: \`Roles\_canSetDomains\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"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,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/domain_set_default.json":{"get":{"tags":["ADM"],"summary":"Set the Default Domain","description":"Set the Default Domain.\nRoles required: `Roles_canSetDomains`\n","parameters":[{"name":"id","in":"query","description":"The idenfifier of the defaut domain to set","schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## Unset the Default Domain

> Unset the Default Domain (no more Default domain).\
> Roles required: \`Roles\_canSetDomains\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"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,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/domain_unset_all.json":{"get":{"tags":["ADM"],"summary":"Unset the Default Domain","description":"Unset the Default Domain (no more Default domain).\nRoles required: `Roles_canSetDomains`\n","responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## Domain list

> List all domains.\
> Roles required: \`Roles\_canViewDomains\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"servers":[{"url":"/"}],"security":[{"APIKeyAuth":[]}],"components":{"securitySchemes":{"APIKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"StatusCode":{"type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"},"Domain":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"uuid":{"type":"string"},"father_id":{"type":"integer","format":"int32"},"name":{"type":"string"},"comment":{"type":"string"},"custom":{"type":"integer","format":"int32"},"def_domain":{"type":"integer","format":"int32"},"nb_streams":{"type":"integer","format":"int32"},"nb_agent":{"type":"integer","format":"int32"},"source_uuid":{"type":"string"},"dest_uuid":{"type":"string"},"read_only":{"type":"integer","format":"int32"}}}}},"paths":{"/ADM/list_domain.json":{"get":{"tags":["ADM"],"summary":"Domain list","description":"List all domains.\nRoles required: `Roles_canViewDomains`\n","responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"},"domains":{"type":"array","items":{"$ref":"#/components/schemas/Domain"}}}}}}}}}}}}
```

## Set the current Domain

> Set the current Domain (only for superadmin).\
> Roles required: \`Roles\_canViewDomains\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"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,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/domain_set_current.json":{"get":{"tags":["ADM"],"summary":"Set the current Domain","description":"Set the current Domain (only for superadmin).\nRoles required: `Roles_canViewDomains`\n","parameters":[{"name":"domain_id","description":"The identifier of the domain (name or uuid or id)","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## Set the node list

> Set the node list on which a tenant is spreaded (only for superadmin).\
> Roles required: \`Roles\_canViewDomains\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"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,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/domain_set_node.json":{"get":{"tags":["ADM"],"summary":"Set the node list","description":"Set the node list on which a tenant is spreaded (only for superadmin).\nRoles required: `Roles_canViewDomains`\n","parameters":[{"name":"domain_id","description":"The identifier of the domain (name or uuid or id)","in":"query","schema":{"type":"string"}},{"name":"nodes_id","description":"A list of node id (separated by a comma)","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## Move User

> Move User from User Group to another User Group.\
> Roles required: \`Roles\_isAdmin\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"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,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/move_user_to_ug.json":{"get":{"tags":["ADM"],"summary":"Move User","description":"Move User from User Group to another User Group.\nRoles required: `Roles_isAdmin`\n","parameters":[{"name":"ug_id","description":"The identifier of the target User Group","in":"query","schema":{"type":"integer"}},{"name":"user_id","description":"The identifier of the User (or the User name)","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}}}}}}}}
```

## List of relation User/User Group

> List the relation between User and User Group\
> Roles required: \`Roles\_isAdmin\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"servers":[{"url":"/"}],"security":[{"APIKeyAuth":[]}],"components":{"securitySchemes":{"APIKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"StatusCode":{"type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/list_user_ug_relation.json":{"get":{"tags":["ADM"],"summary":"List of relation User/User Group","description":"List the relation between User and User Group\nRoles required: `Roles_isAdmin`\n","responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"},"relations":{"type":"array","items":{"type":"object","properties":{"ug_id":{"type":"integer"},"user_id":{"type":"integer"}}}}}}}}}}}}}}
```

## Search any object

> Search any object by name (meta-search for UI).\
> Roles required: \`Roles\_isAdmin\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"servers":[{"url":"/"}],"security":[{"APIKeyAuth":[]}],"components":{"securitySchemes":{"APIKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"StatusCode":{"type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"},"Search":{"type":"object","properties":{"field":{"type":"string"},"type":{"type":"string"},"domain_id":{"type":"integer","format":"int32"},"domain_name":{"type":"string"},"id":{"type":"integer","format":"int32"},"name":{"type":"string"}}}}},"paths":{"/ADM/search_objects.json":{"get":{"tags":["ADM"],"summary":"Search any object","description":"Search any object by name (meta-search for UI).\nRoles required: `Roles_isAdmin`\n","parameters":[{"name":"search","description":"the search pattern (accept * metacharacter)","in":"query","schema":{"type":"string"}},{"name":"lang","description":"Search for translated messages from this lang [OPTIONAL]","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"},"search":{"type":"string"},"result":{"type":"array","items":{"$ref":"#/components/schemas/Search"}}}}}}}}}}}}
```

## List of agent auto update configuration

> List of agent auto update configuration.\
> Roles required: \`Roles\_canViewConfig\`  <br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"servers":[{"url":"/"}],"security":[{"APIKeyAuth":[]}],"components":{"securitySchemes":{"APIKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"StatusCode":{"type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"},"AgentUpdateCfg":{"description":"Configuration used for the auto update of the agents","type":"object","properties":{"id":{"type":"integer","description":"The identifier of the agent"},"activate":{"type":"boolean","description":"Set to true to activate the agent auto update."},"force":{"type":"boolean","description":"Set to true for force an agent auto update."},"url":{"type":"string","description":"The url of the sever used to get the new agent setup"}},"required":["id"]}}},"paths":{"/ADM/agent_cfg_update_list.json":{"get":{"tags":["ADM"],"summary":"List of agent auto update configuration","description":"List of agent auto update configuration.\nRoles required: `Roles_canViewConfig`  \n","parameters":[{"name":"id","description":"A list of agent identifiers (comma separated)","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"},"result":{"type":"array","items":{"$ref":"#/components/schemas/AgentUpdateCfg"}}}}}}}}}}}}
```

## Update agent auto update configuration

> Udpate agent auto update configuration.\
> Roles required: \`Roles\_canSetConfig\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"servers":[{"url":"/"}],"security":[{"APIKeyAuth":[]}],"components":{"securitySchemes":{"APIKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"AgentUpdateCfgUpd":{"type":"object","properties":{"add":{"type":"array","items":{"$ref":"#/components/schemas/AgentUpdateCfg"}},"upd":{"type":"array","items":{"$ref":"#/components/schemas/AgentUpdateCfg"}},"del":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"The identifier of the agent"}}}}}},"AgentUpdateCfg":{"description":"Configuration used for the auto update of the agents","type":"object","properties":{"id":{"type":"integer","description":"The identifier of the agent"},"activate":{"type":"boolean","description":"Set to true to activate the agent auto update."},"force":{"type":"boolean","description":"Set to true for force an agent auto update."},"url":{"type":"string","description":"The url of the sever used to get the new agent setup"}},"required":["id"]},"StatusCode":{"type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/agent_cfg_update.json":{"post":{"tags":["ADM"],"summary":"Update agent auto update configuration","description":"Udpate agent auto update configuration.\nRoles required: `Roles_canSetConfig`\n","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentUpdateCfgUpd"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## Set the maximun number of agent allowed in a domain

> Set the maximun number of agent allowed in a domain.\
> Roles required: \`Roles\_canCreateDomains\`

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"servers":[{"url":"/"}],"security":[{"APIKeyAuth":[]}],"components":{"securitySchemes":{"APIKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"StatusCode":{"type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/domain_set_nb_max_agent.json":{"get":{"tags":["ADM"],"summary":"Set the maximun number of agent allowed in a domain","description":"Set the maximun number of agent allowed in a domain.\nRoles required: `Roles_canCreateDomains`","parameters":[{"name":"nb_max_agent","in":"query","description":"maxium number of agents allowed in a domain","schema":{"type":"number","format":"int32"}},{"name":"id","in":"query","description":"the domain id","schema":{"type":"string"}}],"responses":{"200":{"description":" Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## Change User Group profile

> Change User Group profile.\
> Roles required: \`Roles\_isAdmin\`

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"servers":[{"url":"/"}],"security":[{"APIKeyAuth":[]}],"components":{"securitySchemes":{"APIKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"StatusCode":{"type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/ug_set_profile.json":{"get":{"tags":["ADM"],"summary":"Change User Group profile","description":"Change User Group profile.\nRoles required: `Roles_isAdmin`","parameters":[{"name":"ug_id","in":"query","description":"User group id","schema":{"type":"number","format":"int32"}},{"name":"roles1","in":"query","description":"the roles 1 bit mask","schema":{"type":"number","format":"int32"}},{"name":"roles2","in":"query","description":"the roles 2 bit mask","schema":{"type":"number","format":"int32"}},{"name":"roles3","in":"query","description":"the roles 3 bit mask","schema":{"type":"number","format":"int32"}},{"name":"roles4","in":"query","description":"the roles 4 bit mask","schema":{"type":"number","format":"int32"}}],"responses":{"200":{"description":" Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## check if audit is not modified

> check if audit is not modified.\
> Roles required: \`Roles\_canViewAlerts\`

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"servers":[{"url":"/"}],"security":[{"APIKeyAuth":[]}],"components":{"securitySchemes":{"APIKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"StatusCode":{"type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/check_audit.json":{"get":{"tags":["ADM"],"summary":"check if audit is not modified","description":"check if audit is not modified.\nRoles required: `Roles_canViewAlerts`","responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## Copy a User Group to another Tenant

> Copy a User Group to another Tenant.\
> Roles required: \`Roles\_isSuperadmin\`

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"servers":[{"url":"/"}],"security":[{"APIKeyAuth":[]}],"components":{"securitySchemes":{"APIKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"StatusCode":{"type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}},"paths":{"/ADM/copy_user_group.json":{"get":{"tags":["ADM"],"summary":"Copy a User Group to another Tenant","description":"Copy a User Group to another Tenant.\nRoles required: `Roles_isSuperadmin`","parameters":[{"name":"ug_id","in":"query","description":"User group ID to copy","schema":{"type":"string"}},{"name":"domain_id","in":"query","description":"destination Tenant ID","schema":{"type":"number","format":"int32"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```


---

# 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/ade/adm.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.
