# us.off-the-clock.admin.listMembers

> Published by [off-the-clock.us](https://lexicon.garden/identity/did:plc:tevv7zpavtjtsvqrrwwipobt)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.admin.listMembers)
- [Documentation](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.admin.listMembers/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.admin.listMembers/examples)

## Definitions

### `us.off-the-clock.admin.listMembers`

**Type**: `query`

Every DID a membership record names, with the records behind it. Effective admins and the community identity only. With space, the members holding that pair and only the grants naming one of its halves, for the pair's own admins too.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `space` | `string` (tid) | No | A pair's TID. |

#### Output

**Encoding**: `application/json`

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

#### Errors

- **NotAdmin**

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Every DID a membership record names, with the records behind it. Effective admins and the community identity only. With space, the members holding that pair and only the grants naming one of its halves, for the pair's own admins too.",
      "errors": [
        {
          "name": "NotAdmin"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "members": {
              "items": {
                "ref": "us.off-the-clock.admin.defs#member",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "members"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "space": {
            "description": "A pair's TID.",
            "format": "tid",
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "us.off-the-clock.admin.listMembers",
  "lexicon": 1
}
```
