---
title: "AttachmentPatch"
version: "0.9.0"
url: "https://docs.laminapdf.com/reference/sdk/interfaces/attachmentpatch/"
---

# AttachmentPatch

Defined in: [packages/sdk/src/types.ts:948](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/types.ts#L948)

Changes to an attachment, for [Document.updateAttachment](/reference/sdk/classes/document.md#updateattachment): a new `name`, `description`
(`null` removes it), `mime` type or `relationship`; a missing key leaves the field alone.

## Since

0.6.0

## Properties

### description?

```ts
readonly description?: string | null;
```

Defined in: [packages/sdk/src/types.ts:950](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/types.ts#L950)

***

### mime?

```ts
readonly mime?: string;
```

Defined in: [packages/sdk/src/types.ts:951](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/types.ts#L951)

***

### name?

```ts
readonly name?: string;
```

Defined in: [packages/sdk/src/types.ts:949](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/types.ts#L949)

***

### relationship?

```ts
readonly relationship?: AttachmentRelationship;
```

Defined in: [packages/sdk/src/types.ts:952](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/types.ts#L952)
