com.atproto.server.createInviteCode
Create an invite code.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | server.atproto.com |
| Indexed |
Checks
Validunlimited-stringdefs.main.output.schema.properties.codeNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Create an invite code.",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"forAccount": {
"format": "did",
"type": "string"
},
"useCount": {
"type": "integer"
}
},
"required": [
"useCount"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"code": {
"type": "string"
}
},
"required": [
"code"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "com.atproto.server.createInviteCode",
"lexicon": 1
}