# fyi.opensocial.revokeConnectedApp

> Disconnect an AI app you connected to the group (listConnectedApps): its tokens end, and it acts as you there no more.

- 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.revokeConnectedApp)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.revokeConnectedApp/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.revokeConnectedApp/analytics)

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

Type: procedure · POST

### Input (application/json)

- `clientId` (string, required): The app's client ID, as listConnectedApps gives it.
  - Constraints: maxLength: 2048
- `group` (string · did, required)

### Output (application/json)


## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Disconnect an AI app you connected to the group (listConnectedApps): its tokens end, and it acts as you there no more.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "clientId": {
              "description": "The app's client ID, as listConnectedApps gives it.",
              "maxLength": 2048,
              "type": "string"
            },
            "group": {
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "group",
            "clientId"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {},
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "fyi.opensocial.revokeConnectedApp",
  "lexicon": 1
}
```
