Copy as Markdown[View as Markdown](/docs/sdk/functions/rmAdrById.md)

***

# Function: rmAdrById()

> **rmAdrById**(`directory`): (`id`, `version`?, `persistFiles`?) => `Promise`<`void`>

Defined in: adrs.ts:41

## Parameters[​](#parameters "Direct link to Parameters")

| Parameter   | Type     |
| ----------- | -------- |
| `directory` | `string` |

## Returns[​](#returns "Direct link to Returns")

`Function`

### Parameters[​](#parameters-1 "Direct link to Parameters")

| Parameter       | Type      |
| --------------- | --------- |
| `id`            | `string`  |
| `version`?      | `string`  |
| `persistFiles`? | `boolean` |

### Returns[​](#returns-1 "Direct link to Returns")

`Promise`<`void`>
