Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

deregister_certificate

deregister_certificate(**kwargs)

Deletes from the system the certificate that was registered for secure LDAP or client certificate authentication.

See also: AWS API Documentation

Request Syntax

response = client.deregister_certificate(
    DirectoryId='string',
    CertificateId='string'
)
Parameters
  • DirectoryId (string) --

    [REQUIRED]

    The identifier of the directory.

  • CertificateId (string) --

    [REQUIRED]

    The identifier of the certificate.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • DirectoryService.Client.exceptions.DirectoryUnavailableException
  • DirectoryService.Client.exceptions.DirectoryDoesNotExistException
  • DirectoryService.Client.exceptions.CertificateDoesNotExistException
  • DirectoryService.Client.exceptions.CertificateInUseException
  • DirectoryService.Client.exceptions.UnsupportedOperationException
  • DirectoryService.Client.exceptions.InvalidParameterException
  • DirectoryService.Client.exceptions.ClientException
  • DirectoryService.Client.exceptions.ServiceException