rip.pds.admin.createAccount
Issue an account on any configured domain, including operator-only and permanent ones, optionally on somebody else's behalf. Bypasses the quota. Operators only.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | admin.pds.rip |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.domainNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.passwordNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Issue an account on any configured domain, including operator-only and permanent ones, optionally on somebody else's behalf. Bypasses the quota. Operators only.",
"errors": [
{
"description": "The calling account does not operate this server.",
"name": "NotAnOperator"
},
{
"description": "The requested handle is taken or not valid for the domain.",
"name": "HandleUnavailable"
},
{
"description": "The requested domain is not configured on this server.",
"name": "UnknownDomain"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"domain": {
"description": "Handle domain to mint under. Defaults to the server's first configured domain, which is never the operator-only one.",
"type": "string"
},
"handle": {
"description": "Desired handle. A two-word handle under the chosen domain is generated when omitted.",
"format": "handle",
"type": "string"
},
"ownerDid": {
"description": "Who ends up holding the account, and sees it in their own dashboard. Defaults to the operator.",
"format": "did",
"type": "string"
},
"password": {
"description": "One is generated and returned when omitted.",
"maxLength": 256,
"minLength": 8,
"type": "string"
}
},
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"account": {
"ref": "rip.pds.admin.defs#accountView",
"type": "ref"
},
"password": {
"description": "Shown once.",
"type": "string"
},
"pdsEndpoint": {
"format": "uri",
"type": "string"
}
},
"required": [
"account",
"password",
"pdsEndpoint"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "rip.pds.admin.createAccount",
"lexicon": 1
}