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

**************************
disassociate_access_policy
**************************



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

  

  Disassociates an access policy from an access entry.

  

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


  **Request Syntax**
  ::

    response = client.disassociate_access_policy(
        clusterName='string',
        principalArn='string',
        policyArn='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``.

    

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

    The ARN of the policy to disassociate from the access entry. For a list of associated policies ARNs, use ``ListAssociatedAccessPolicies``.

    

  
  
  :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`

  