:doc:`WorkMail <../../workmail>` / Client / delete_mobile_device_access_override

************************************
delete_mobile_device_access_override
************************************



.. py:method:: WorkMail.Client.delete_mobile_device_access_override(**kwargs)

  

  Deletes the mobile device access override for the given WorkMail organization, user, and device.

   

  .. note::

    

    Deleting already deleted and non-existing overrides does not produce an error. In those cases, the service sends back an HTTP 200 response with an empty HTTP body.

    

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteMobileDeviceAccessOverride>`_  


  **Request Syntax**
  ::

    response = client.delete_mobile_device_access_override(
        OrganizationId='string',
        UserId='string',
        DeviceId='string'
    )
    
  :type OrganizationId: string
  :param OrganizationId: **[REQUIRED]** 

    The WorkMail organization for which the access override will be deleted.

    

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

    The WorkMail user for which you want to delete the override. Accepts the following types of user identities:

     

    
    * User ID: ``12345678-1234-1234-1234-123456789012`` or ``S-1-1-12-1234567890-123456789-123456789-1234``
     
    * Email address: ``user@domain.tld``
     
    * User name: ``user``
    

    

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

    The mobile device for which you delete the override. ``DeviceId`` is case insensitive.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`WorkMail.Client.exceptions.InvalidParameterException`

  
  *   :py:class:`WorkMail.Client.exceptions.OrganizationNotFoundException`

  
  *   :py:class:`WorkMail.Client.exceptions.OrganizationStateException`

  
  *   :py:class:`WorkMail.Client.exceptions.EntityNotFoundException`

  