:doc:`ManagedBlockchain <../../managedblockchain>` / Client / delete_accessor

***************
delete_accessor
***************



.. py:method:: ManagedBlockchain.Client.delete_accessor(**kwargs)

  

  Deletes an accessor that your Amazon Web Services account owns. An accessor object is a container that has the information required for token based access to your Ethereum nodes including, the ``BILLING_TOKEN``. After an accessor is deleted, the status of the accessor changes from ``AVAILABLE`` to ``PENDING_DELETION``. An accessor in the ``PENDING_DELETION`` state can’t be used for new WebSocket requests or HTTP requests. However, WebSocket connections that were initiated while the accessor was in the ``AVAILABLE`` state remain open until they expire (up to 2 hours).

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/DeleteAccessor>`_  


  **Request Syntax**
  ::

    response = client.delete_accessor(
        AccessorId='string'
    )
    
  :type AccessorId: string
  :param AccessorId: **[REQUIRED]** 

    The unique identifier of the accessor.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`ManagedBlockchain.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`ManagedBlockchain.Client.exceptions.AccessDeniedException`

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

  
  *   :py:class:`ManagedBlockchain.Client.exceptions.ThrottlingException`

  
  *   :py:class:`ManagedBlockchain.Client.exceptions.InternalServiceErrorException`

  