DeleteEndpointAcl
General
URL
https://{host}/attunityenterprisemanager/api/v1/servers/{server}/endpoints/{endpoint}?action=acl
Description
Deletes the explicit ACL defined in Qlik Enterprise Manager for the specified endpoint.
Inherited ACLs are not affected by this method.
Once the explicit ACL is deleted from the endpoint, all ACLs will be automatically inherited from the endpoint'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 |
Endpoint [string] |
Yes |
MyEndpoint |
| 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/endpoints/MyEndpoint?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 endpoint "{endpoint}". Error: "{message}". |
Returned if Qlik Enterprise Manager encounters an error/exception when trying to delete the endpoint's ACL. |
|
500 |
AEM_SERVER_HAS_NO_ACL | ACL for server "{endpoint }" could not be found. |
Returned when the specified endpoint has no explicit ACL defined. |