:doc:`IAM <../../iam>` / Client / delete_service_specific_credential

**********************************
delete_service_specific_credential
**********************************



.. py:method:: IAM.Client.delete_service_specific_credential(**kwargs)

  

  Deletes the specified service-specific credential.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServiceSpecificCredential>`_  


  **Request Syntax**
  ::

    response = client.delete_service_specific_credential(
        UserName='string',
        ServiceSpecificCredentialId='string'
    )
    
  :type UserName: string
  :param UserName: 

    The name of the IAM user associated with the service-specific credential. If this value is not specified, then the operation assumes the user whose credentials are used to call the operation.

     

    This parameter allows (through its `regex pattern <http://wikipedia.org/wiki/regex>`__) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

    

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

    The unique identifier of the service-specific credential. You can get this value by calling `ListServiceSpecificCredentials <https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListServiceSpecificCredentials.html>`__.

     

    This parameter allows (through its `regex pattern <http://wikipedia.org/wiki/regex>`__) a string of characters that can consist of any upper or lowercased letter or digit.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`IAM.Client.exceptions.NoSuchEntityException`

  