# DeleteEndpointAcl

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.

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

## Syntax

`public void DeleteEndpointAcl(` `string server` `string endpoint` `);`

## Parameters

Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| server | string | The name of the server with the endpoint ACL. |
| endpoint | string | The name of the endpoint whose ACL needs to be deleted. |

## Return values

N/A

## Errors

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

Error responses

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