# DeleteServerAcl

## General

### URL

https://{host}/attunityenterprisemanager/api/v1/servers/{server}?action=acl

### Description

Deletes the explicit ACL defined in Qlik Enterprise Manager for the specified server.

Inherited ACLs are not affected by this method.

Once the explicit ACL is deleted from the server, all ACLs will be automatically inherited from the server's ancestors.

### HTTP method

DELETE

### Required user role

See [Required Enterprise Manager permissions](https://help.qlik.com/en-US/enterprise-manager/May2026/Content/EnterpriseManager/EnterpriseManager_APIGuide/Introduction/AEMPermissions.htm).

## Request parameters

Request parameters

| Location | Name | Required | Example |
| --- | --- | --- | --- |
| URL | Host [string] | Yes | computer.network.net |
| URL | ServerName [string] | Yes | myrepsrv1 |
| Header | EnterpriseManager.APISessionID [string] | Yes | wCo0\_KvjEUFROvfHF5KGrw |

## cURL example

### Request

`curl -i -k -X DELETE  --header "EnterpriseManager.APISessionID: wCo0_KvjEUFROvfHF5KGr" --header https://computer.network.net/attunityenterprisemanager/api/v1/servers/myrepsrv1?action=acl"`

### Response

```
Header:
```

```
HTTP/1.1 200 OK
Cache-Control: no-cache, no-store
Content-Length: 38
Content-Type: application/json; charset=utf-8
Server: Microsoft-HTTPAPI/2.0
Date: Mon, 26 Dec 2016 16:31:01 GMT
```

## Error response

All of the [general errors](https://help.qlik.com/en-US/enterprise-manager/May2026/Content/EnterpriseManager/EnterpriseManager_APIGuide/CurlAPI/error_handling.htm) as well as the errors listed in the table below.

Error responses

| HTTP Code | Enterprise Manager Code | Text | Description |
| --- | --- | --- | --- |
| 500 | AEM\_DELETE\_SERVER\_ACL\_INNER\_ERR | Failed to delete ACL of server "{server}".<br><br>Error: "{message}". | Returned if Qlik Enterprise Manager encounters an error/exception when trying to delete the server's ACL. |
| 500 | AEM\_SERVER\_HAS\_NO\_ACL | ACL for server "{server}" could not be found. | Returned when the specified server has no explicit ACL defined. |