at.happyproto.admin.removeCustomer
Stop an account being a customer: remove it from the customers space. Removing a non-member succeeds. Staff only.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | admin.happyproto.at |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Stop an account being a customer: remove it from the customers space. Removing a non-member succeeds. Staff only.",
"errors": [
{
"description": "This endpoint requires an authenticated caller.",
"name": "AuthRequired"
},
{
"description": "The caller is not HappyProto staff, or may not change the customers space's members: only its creator or a HappyView super user may.",
"name": "Forbidden"
},
{
"description": "did is not a DID.",
"name": "InvalidRequest"
},
{
"description": "The customers space is not configured, or could not be changed.",
"name": "Upstream"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"did": {
"format": "did",
"type": "string"
}
},
"required": [
"did"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {},
"type": "object"
}
},
"type": "procedure"
}
},
"id": "at.happyproto.admin.removeCustomer",
"lexicon": 1
}