space.highport.admin.setDomainState
Suspend, unsuspend, or force-release a domain.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | admin.highport.space |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.reasonNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.stateNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Suspend, unsuspend, or force-release a domain.",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"domain": {
"description": "The hostname.",
"maxLength": 253,
"type": "string"
},
"reason": {
"description": "Recorded in the domain's event log.",
"type": "string"
},
"state": {
"knownValues": [
"suspended",
"active",
"released"
],
"type": "string"
}
},
"required": [
"domain",
"state"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"domain": {
"ref": "space.highport.defs#domainView",
"type": "ref"
}
},
"required": [
"domain"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "space.highport.admin.setDomainState",
"lexicon": 1
}