:doc:`QApps <../../qapps>` / Client / batch_delete_category

*********************
batch_delete_category
*********************



.. py:method:: QApps.Client.batch_delete_category(**kwargs)

  

  Deletes Categories for the Amazon Q Business application environment instance. Web experience users use Categories to tag and filter library items. For more information, see `Custom labels for Amazon Q Apps <https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/qapps-custom-labels.html>`__.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/BatchDeleteCategory>`_  


  **Request Syntax**
  ::

    response = client.batch_delete_category(
        instanceId='string',
        categories=[
            'string',
        ]
    )
    
  :type instanceId: string
  :param instanceId: **[REQUIRED]** 

    The unique identifier of the Amazon Q Business application environment instance.

    

  
  :type categories: list
  :param categories: **[REQUIRED]** 

    The list of IDs of the categories to be deleted.

    

  
    - *(string) --* 

    

  
  :returns: None
  **Exceptions**
  
  *   :py:class:`QApps.Client.exceptions.ResourceNotFoundException`

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

  
  *   :py:class:`QApps.Client.exceptions.ConflictException`

  
  *   :py:class:`QApps.Client.exceptions.ValidationException`

  
  *   :py:class:`QApps.Client.exceptions.InternalServerException`

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

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

  