# code-scanning-alert-dismissed-reason

From **GitHub v3 REST API**.

**Required when the state is dismissed.** The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.

- Type: `string`
- Nullable: true
- Allowed values: `null`, `"false positive"`, `"won't fix"`, `"used in tests"`

## JSON Schema

```json
{"description":"**Required when the state is dismissed.** The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.","enum":[null,"false positive","won't fix","used in tests"],"nullable":true,"type":"string"}
```
