Files
discoursejs/docs/sdk/models/operations/deletepostrequestbody.md

17 lines
4.1 KiB
Markdown

# DeletePostRequestBody
## Example Usage
```typescript
import { DeletePostRequestBody } from "@lukehagar/discoursejs/sdk/models/operations";
let value: DeletePostRequestBody = {
forceDestroy: true,
};
```
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `forceDestroy` | *boolean* | :heavy_minus_sign: | The `SiteSetting.can_permanently_delete` needs to be enabled first before this param can be used. Also this endpoint needs to be called first without `force_destroy` and then followed up with a second call 5 minutes later with `force_destroy` to permanently delete. | true |