# ai.newnal.pdn.server.listAppPasswords

> Published by [newnal-platform.newnal.id](https://lexicon.garden/identity/did:plc:vciktevzoffubdvdaajz2yp3)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:vciktevzoffubdvdaajz2yp3/ai.newnal.pdn.server.listAppPasswords)
- [Documentation](https://lexicon.garden/lexicon/did:plc:vciktevzoffubdvdaajz2yp3/ai.newnal.pdn.server.listAppPasswords/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:vciktevzoffubdvdaajz2yp3/ai.newnal.pdn.server.listAppPasswords/examples)

## Definitions

### `ai.newnal.pdn.server.listAppPasswords#appPassword`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `name` | `string` | Yes |  |
| `privileged` | `boolean` | No |  |
| `scope` | `string` | No |  |

### `ai.newnal.pdn.server.listAppPasswords`

**Type**: `query`

List all App Passwords with their OAuth scope. An entry without scope is an unscoped app password created through com.atproto.server.createAppPassword.

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `passwords` | `array` | Yes |  |

#### Errors

- **AccountTakedown**

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "appPassword": {
      "properties": {
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "privileged": {
          "type": "boolean"
        },
        "scope": {
          "type": "string"
        }
      },
      "required": [
        "name",
        "createdAt"
      ],
      "type": "object"
    },
    "main": {
      "description": "List all App Passwords with their OAuth scope. An entry without scope is an unscoped app password created through com.atproto.server.createAppPassword.",
      "errors": [
        {
          "name": "AccountTakedown"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "passwords": {
              "items": {
                "ref": "#appPassword",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "passwords"
          ],
          "type": "object"
        }
      },
      "type": "query"
    }
  },
  "id": "ai.newnal.pdn.server.listAppPasswords",
  "lexicon": 1
}
```
