# rip.pds.admin.putOwnerLimits

> Published by [pds.rip](https://lexicon.garden/identity/did:plc:w24v65i3bcsxk6mbbgfdukve)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:w24v65i3bcsxk6mbbgfdukve/rip.pds.admin.putOwnerLimits)
- [Documentation](https://lexicon.garden/lexicon/did:plc:w24v65i3bcsxk6mbbgfdukve/rip.pds.admin.putOwnerLimits/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:w24v65i3bcsxk6mbbgfdukve/rip.pds.admin.putOwnerLimits/examples)

## Definitions

### `rip.pds.admin.putOwnerLimits`

**Type**: `procedure`

Set or clear one person's exceptions to the configured limits. The whole override is replaced, so omitting a field clears it rather than leaving it as it was. Operators only.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes |  |
| `note` | `string` | No | Why. Shown beside the numbers, so a limit set months ago still explains itself. |
| `clear` | `boolean` | No | Remove the override entirely, returning them to the configured defaults. Every other field is ignored. |
| `quotaOverride` | `integer` | No | Live accounts they may hold at once. Zero refuses new accounts without touching the ones they already have. Omit to fall back to the configured default. |
| `lifetimeDaysOverride` | `integer` | No | How far an account of theirs may be extended, in days from its creation. Omit to fall back to the configured default. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `owner` | `ref` → `rip.pds.admin.defs#ownerView` | Yes |  |

#### Errors

- **NotAnOperator**: The calling account does not operate this server.
- **InvalidRequest**: A limit was outside the permitted range.

## Raw Schema

```json
{
  "id": "rip.pds.admin.putOwnerLimits",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "did"
          ],
          "properties": {
            "did": {
              "type": "string",
              "format": "did"
            },
            "note": {
              "type": "string",
              "maxLength": 500,
              "description": "Why. Shown beside the numbers, so a limit set months ago still explains itself."
            },
            "clear": {
              "type": "boolean",
              "description": "Remove the override entirely, returning them to the configured defaults. Every other field is ignored."
            },
            "quotaOverride": {
              "type": "integer",
              "maximum": 1000,
              "minimum": 0,
              "description": "Live accounts they may hold at once. Zero refuses new accounts without touching the ones they already have. Omit to fall back to the configured default."
            },
            "lifetimeDaysOverride": {
              "type": "integer",
              "maximum": 3650,
              "minimum": 1,
              "description": "How far an account of theirs may be extended, in days from its creation. Omit to fall back to the configured default."
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "NotAnOperator",
          "description": "The calling account does not operate this server."
        },
        {
          "name": "InvalidRequest",
          "description": "A limit was outside the permitted range."
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "owner"
          ],
          "properties": {
            "owner": {
              "ref": "rip.pds.admin.defs#ownerView",
              "type": "ref"
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Set or clear one person's exceptions to the configured limits. The whole override is replaced, so omitting a field clears it rather than leaving it as it was. Operators only."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
