# DeleteTaskAcl

## General

### URL

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

### Description

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

Inherited ACLs are not affected by this method.

Once the explicit ACL is deleted from the task, all ACLs will be automatically inherited from the task'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 | Server [string] | Yes | MyRepServer |
| URL | Task [string] | Yes | MyTask |
| 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/MyRepServer/tasks/MyTask?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 task "{task}".<br><br>Error: "{message}". | Returned if Qlik Enterprise Manager encounters an error/exception when trying to delete the task's ACL. |
| 500 | AEM\_SERVER\_HAS\_NO\_ACL | ACL for server "{task }" could not be found. | Returned when the specified task has no explicit ACL defined. |