:doc:`Schemas <../../schemas>` / Client / delete_resource_policy

**********************
delete_resource_policy
**********************



.. py:method:: Schemas.Client.delete_resource_policy(**kwargs)

  

  Delete the resource-based policy attached to the specified registry.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DeleteResourcePolicy>`_  


  **Request Syntax**
  ::

    response = client.delete_resource_policy(
        RegistryName='string'
    )
    
  :type RegistryName: string
  :param RegistryName: 

    The name of the registry.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`Schemas.Client.exceptions.BadRequestException`

  
  *   :py:class:`Schemas.Client.exceptions.UnauthorizedException`

  
  *   :py:class:`Schemas.Client.exceptions.InternalServerErrorException`

  
  *   :py:class:`Schemas.Client.exceptions.ForbiddenException`

  
  *   :py:class:`Schemas.Client.exceptions.NotFoundException`

  
  *   :py:class:`Schemas.Client.exceptions.ServiceUnavailableException`

  