social.colibri.beta.community.negateLabel
Retracts a label by writing a negating one. The original label record is left in place.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | community.beta.colibri.social |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.valNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Retracts a label by writing a negating one. The original label record is left in place.",
"errors": [
{
"description": "The request is missing, malformed, or unverifiable service auth.",
"name": "AuthRequired"
},
{
"description": "The caller lacks the label.apply permission.",
"name": "Forbidden"
},
{
"description": "No community exists at the given DID.",
"name": "CommunityNotFound"
},
{
"description": "No space exists at the given reference.",
"name": "SpaceNotFound"
},
{
"description": "No active label matching the subject and value exists to negate.",
"name": "LabelNotFound"
},
{
"description": "The AppView cannot act as the community because its stored credentials are missing or unusable.",
"name": "CredentialsUnavailable"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"reason": {
"description": "Human-readable reason for the retraction.",
"maxLength": 512,
"type": "string"
},
"space": {
"description": "The space the labelled record lives in.",
"format": "space-ref",
"type": "string"
},
"subject": {
"description": "The labelled record.",
"ref": "social.colibri.beta.label#subject",
"type": "ref"
},
"val": {
"description": "The label value to retract.",
"type": "string"
}
},
"required": [
"space",
"subject",
"val"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {},
"type": "object"
}
},
"type": "procedure"
}
},
"id": "social.colibri.beta.community.negateLabel",
"lexicon": 1
}