rip.pds.account.createAccount
Mint an ephemeral account owned by the calling account. The account is deleted and its identity retired when it expires.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | account.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": "Mint an ephemeral account owned by the calling account. The account is deleted and its identity retired when it expires.",
"errors": [
{
"description": "The caller already holds the maximum number of live accounts.",
"name": "QuotaExceeded"
},
{
"description": "The requested handle is taken or not valid for the domain.",
"name": "HandleUnavailable"
},
{
"description": "The requested domain is not offered by this server.",
"name": "UnknownDomain"
},
{
"description": "The caller's own identity is hosted here and would expire, orphaning what it mints.",
"name": "OwnerNotEligible"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"domain": {
"description": "Handle domain to mint under, which also selects the identity method. Defaults to the server's first configured domain.",
"type": "string"
},
"handle": {
"description": "Desired handle. A two-word handle under the chosen domain is generated when omitted.",
"format": "handle",
"type": "string"
},
"password": {
"description": "Password for the new account. 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.account.defs#accountView",
"type": "ref"
},
"password": {
"description": "Shown once. The server does not store it in a recoverable form.",
"type": "string"
},
"pdsEndpoint": {
"format": "uri",
"type": "string"
}
},
"required": [
"account",
"password",
"pdsEndpoint"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "rip.pds.account.createAccount",
"lexicon": 1
}