:doc:`OpenSearchServiceServerless <../../opensearchserverless>` / Client / delete_security_config

**********************
delete_security_config
**********************



.. py:method:: OpenSearchServiceServerless.Client.delete_security_config(**kwargs)

  

  Deletes a security configuration for OpenSearch Serverless. For more information, see `SAML authentication for Amazon OpenSearch Serverless <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-saml.html>`__.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/DeleteSecurityConfig>`_  


  **Request Syntax**
  ::

    response = client.delete_security_config(
        id='string',
        clientToken='string'
    )
    
  :type id: string
  :param id: **[REQUIRED]** 

    The security configuration identifier. For SAML the ID will be ``saml/<accountId>/<idpProviderName>``. For example, ``saml/123456789123/OKTADev``.

    

  
  :type clientToken: string
  :param clientToken: 

    Unique, case-sensitive identifier to ensure idempotency of the request.

    This field is autopopulated if not provided.

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`OpenSearchServiceServerless.Client.exceptions.InternalServerException`

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

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

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

  