{
"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
}