place.wisp.v2.site.delete
Delete one owned site metadata entry and unmap any domains pointing to it.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | site.v2.wisp.place |
| Indexed |
Checks
Validunlimited-stringdefs.unmappedDomain.properties.kindNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.unmappedDomain.properties.statusNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Delete one owned site metadata entry and unmap any domains pointing to it.",
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "InvalidRequest"
},
{
"name": "NotFound"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"siteRkey": {
"description": "Owned place.wisp.fs record key to delete from wisp metadata.",
"format": "record-key",
"type": "string"
}
},
"required": [
"siteRkey"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"deleted": {
"const": true,
"type": "boolean"
},
"siteRkey": {
"format": "record-key",
"type": "string"
},
"unmappedDomains": {
"description": "Domains that were detached from this site before deletion.",
"items": {
"ref": "#unmappedDomain",
"type": "ref"
},
"type": "array"
}
},
"required": [
"siteRkey",
"deleted",
"unmappedDomains"
],
"type": "object"
}
},
"type": "procedure"
},
"unmappedDomain": {
"properties": {
"domain": {
"maxLength": 253,
"minLength": 3,
"type": "string"
},
"kind": {
"enum": [
"wisp",
"custom"
],
"type": "string"
},
"status": {
"enum": [
"pendingVerification",
"verified"
],
"type": "string"
}
},
"required": [
"domain",
"kind",
"status"
],
"type": "object"
}
},
"id": "place.wisp.v2.site.delete",
"lexicon": 1
}