# DeleteDocumentFormatMode

Source: https://swapcard.dev/organizer/content-api/graphql-event-api-schema/types/enums/delete-document-format-mode


UNLINK&#x005F;FROM&#x005F;EVENT removes the Format from `eventId` only (even its last event) and keeps it in the community. HARD&#x005F;DELETE deletes it from the community. Required when the Format is linked to several events; without it, a Format linked to at most one event is deleted.

```graphql
enum DeleteDocumentFormatMode {
  UNLINK_FROM_EVENT
  HARD_DELETE
}
```

### Values

#### [<code style={{ fontWeight: 'normal' }}>DeleteDocumentFormatMode.<b>UNLINK&#x005F;FROM&#x005F;EVENT</b></code>](#unlink-from-event) {/* #unlink-from-event */} 

#### [<code style={{ fontWeight: 'normal' }}>DeleteDocumentFormatMode.<b>HARD&#x005F;DELETE</b></code>](#hard-delete) {/* #hard-delete */} 

### Member Of

[`DeleteDocumentFormatInput`](/organizer/content-api/graphql-event-api-schema/types/inputs/delete-document-format-input.mdx)  <Badge class="badge badge--secondary badge--relation" text="input"/>
