# org.atgrp.cancelJoinRequest

Withdraw the caller's pending join request. Requires service auth.

A method (procedure) in the spec for Atmosphere Groups. The page: https://www.atmospheregroups.org/spec/lexicons/org-atgrp-cancelJoinRequest/

- Named in the spec: 13.4 Methods (https://www.atmospheregroups.org/spec/#methods)
- In the spec's repository: https://tangled.org/atmospheregroups.org/spec/blob/0885261c9cd1af80e89908571f926c2d0c71771f/lexicons/org/atgrp/cancelJoinRequest.json
- Published under the same name: https://www.atmospheregroups.org/reference/lexicons/org-atgrp-cancelJoinRequest/, the same schema
- The reference host's version: fyi.opensocial.cancelJoinRequest, https://www.atmospheregroups.org/reference/lexicons/fyi-opensocial-cancelJoinRequest/

## The schema in the spec

```json
{
  "lexicon": 1,
  "id": "org.atgrp.cancelJoinRequest",
  "defs": {
    "main": {
      "type": "procedure",
      "description": "Withdraw the caller's pending join request. Requires service auth.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": [
            "group"
          ],
          "properties": {
            "group": {
              "type": "string",
              "format": "did"
            }
          }
        }
      },
      "errors": [
        {
          "name": "GroupNotFound"
        },
        {
          "name": "JoinRequestNotFound"
        }
      ]
    }
  }
}
```
