# fyi.opensocial.denyJoinRequest

> Deny a pending join request. Requires admit. The requester sees it as no request at all, and may ask again.

- Kind: procedure
- Authority: opensocial.fyi
- Lexicon: 1
- Published by [lexicons.opensocial.fyi](https://lexicon.garden/identity/did:plc:2gqnilpksz2e7faj3bwvo6qc), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.denyJoinRequest)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.denyJoinRequest/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.denyJoinRequest/analytics)

## Procedure (`fyi.opensocial.denyJoinRequest`)

Type: procedure · POST

### Input (application/json)

- `group` (string · did, required): The group DID. Every method is served by the group's host and authorized against that group's roles.
- `member` (string · did, required): Who asked to join.

### Output (application/json)


### Errors

- `JoinRequestNotFound`: No description in schema.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Deny a pending join request. Requires admit. The requester sees it as no request at all, and may ask again.",
      "errors": [
        {
          "name": "JoinRequestNotFound"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "group": {
              "description": "The group DID. Every method is served by the group's host and authorized against that group's roles.",
              "format": "did",
              "type": "string"
            },
            "member": {
              "description": "Who asked to join.",
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "group",
            "member"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {},
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "fyi.opensocial.denyJoinRequest",
  "lexicon": 1
}
```
