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.
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 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 server "{server}". 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. |