# social.grain.admin.resolveReport

> Close an open report. Resolving it applies the label it asked for; dismissing it does not. Requires an admin session.

- Kind: procedure
- Authority: admin.grain.social
- Lexicon: 1
- Published by [grain.social](https://lexicon.garden/identity/did:plc:e7rftrdyz5e2rw4y6ocszew2), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.admin.resolveReport)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.admin.resolveReport/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.admin.resolveReport/analytics)

## Procedure (`social.grain.admin.resolveReport`)

Type: procedure · POST

### Input (application/json)

- `action` (string, required)
  - Constraints: knownValues: resolve | dismiss
- `id` (integer, required)

### Output (application/json)


### Errors

- `ReportNotFound`: No open report by that id.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Close an open report. Resolving it applies the label it asked for; dismissing it does not. Requires an admin session.",
      "errors": [
        {
          "description": "No open report by that id.",
          "name": "ReportNotFound"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "action": {
              "knownValues": [
                "resolve",
                "dismiss"
              ],
              "type": "string"
            },
            "id": {
              "type": "integer"
            }
          },
          "required": [
            "id",
            "action"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {},
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "social.grain.admin.resolveReport",
  "lexicon": 1
}
```
