# org.atgrp.mod.submitAppeal

Appeal a label or ejection on the caller's account or one of their records, reopening it in the moderation queue. Works for former members. Requires service auth.

A method (procedure) in the Atmosphere Groups standard, as published on the network. The page: https://www.atmospheregroups.org/reference/lexicons/org-atgrp-mod-submitAppeal/

- Published at: at://did:plc:4pt2cnpyvfgn5b7uxwn2shwv/com.atproto.lexicon.schema/org.atgrp.mod.submitAppeal
- In the spec: https://www.atmospheregroups.org/spec/lexicons/org-atgrp-mod-submitAppeal/, the same schema

## The schema as published

```json
{
  "id": "org.atgrp.mod.submitAppeal",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "group",
            "subject"
          ],
          "properties": {
            "note": {
              "type": "string",
              "maxLength": 20000,
              "maxGraphemes": 2000
            },
            "group": {
              "type": "string",
              "format": "did"
            },
            "subject": {
              "type": "string",
              "format": "uri",
              "description": "The caller's DID or one of their record URIs."
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "GroupNotFound"
        },
        {
          "name": "InvalidSubject",
          "description": "The subject isn't the caller's account or record."
        },
        {
          "name": "NotAppealable",
          "description": "The subject has no label or ejection."
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "eventId",
            "createdAt"
          ],
          "properties": {
            "eventId": {
              "type": "string",
              "maxLength": 512,
              "minLength": 1
            },
            "createdAt": {
              "type": "string",
              "format": "datetime"
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Appeal a label or ejection on the caller's account or one of their records, reopening it in the moderation queue. Works for former members. Requires service auth."
    }
  },
  "lexicon": 1
}
```
