<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@mike-north/devcert-patched](./devcert-patched.md) &gt; [removeDomain](./devcert-patched.removedomain.md)

## removeDomain() function

> Warning: This API is now obsolete.
> 
> please use [removeAndRevokeDomainCert](./devcert-patched.removeandrevokedomaincert.md) to ensure that the OpenSSL cert removal is handled properly
> 

Remove a certificate

<b>Signature:</b>

```typescript
export declare function removeDomain(commonName: string): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  commonName | <code>string</code> | commonName of cert to remove |

<b>Returns:</b>

`void`

