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.
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 as well as the errors listed in the table below.
| HTTP Code | Enterprise Manager Code | Text | Description |
|---|---|---|---|
|
500 |
AEM_DELETE_SERVER_ACL_INNER_ERR |
Failed to delete ACL of task "{task}". 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. |