:doc:`EKS <../../eks>` / Client / delete_access_entry

*******************
delete_access_entry
*******************



.. py:method:: EKS.Client.delete_access_entry(**kwargs)

  

  Deletes an access entry.

   

  Deleting an access entry of a type other than ``Standard`` can cause your cluster to function improperly. If you delete an access entry in error, you can recreate it.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeleteAccessEntry>`_  


  **Request Syntax**
  ::

    response = client.delete_access_entry(
        clusterName='string',
        principalArn='string'
    )
    
  :type clusterName: string
  :param clusterName: **[REQUIRED]** 

    The name of your cluster.

    

  
  :type principalArn: string
  :param principalArn: **[REQUIRED]** 

    The ARN of the IAM principal for the ``AccessEntry``.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`EKS.Client.exceptions.ServerException`

  
  *   :py:class:`EKS.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`EKS.Client.exceptions.InvalidRequestException`

  