{
"id": "space.highport.manage.releaseDomain",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"domain"
],
"properties": {
"domain": {
"type": "string",
"maxLength": 253,
"description": "The registered hostname."
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "DomainNotFound",
"description": "No registration for that domain belongs to the caller."
},
{
"name": "DomainIsDelegationProbe",
"description": "The domain is a delegation base's probe, which goes with disableDelegation rather than with releaseDomain."
}
],
"output": {
"schema": {
"type": "object",
"required": [
"released"
],
"properties": {
"released": {
"type": "boolean"
}
}
},
"encoding": "application/json"
},
"description": "Release a domain: deactivate its site and stop authorizing the domain at the TLS permission endpoint. A certificate already issued for the domain itself is not revoked; it stays valid until it expires. If the domain is a base holding a wildcard certificate grant, the release ends the grant and that wildcard is revoked and deleted, and until then the domain stays refused to every account. The content-addressed blobs survive — they may be shared — and are reclaimed by garbage collection."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}