MenuMethods

Procedure · POST

group.opensocial.negateLabel

Negate a previously applied label.

Negate a previously applied label. Requires label, or takedown for !hide and !takedown.

Requires
label / takedown

Input

groupstring · didrequired

The group DID. Every method is served by the group's host and authorized against that group's roles. Or the host's own DID, for its queue of what's shared with everyone: templates, their versions, and likes of them, for the host's moderators alone.

subjectunion of com.atproto.admin.defs#repoRef | com.atproto.repo.strongRefrequired
valstringrequired

Output

uristring · at-urirequired
cidstring · cidrequired

Schema

Lexicon JSON
{
  "lexicon": 1,
  "id": "group.opensocial.negateLabel",
  "defs": {
    "main": {
      "type": "procedure",
      "description": "Negate a previously applied label. Requires label, or takedown for !hide and !takedown.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": [
            "group",
            "subject",
            "val"
          ],
          "properties": {
            "group": {
              "type": "string",
              "format": "did",
              "description": "The group DID. Every method is served by the group's host and authorized against that group's roles. Or the host's own DID, for its queue of what's shared with everyone: templates, their versions, and likes of them, for the host's moderators alone."
            },
            "subject": {
              "type": "union",
              "refs": [
                "com.atproto.admin.defs#repoRef",
                "com.atproto.repo.strongRef"
              ]
            },
            "val": {
              "type": "string"
            }
          }
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": [
            "uri",
            "cid"
          ],
          "properties": {
            "uri": {
              "type": "string",
              "format": "at-uri"
            },
            "cid": {
              "type": "string",
              "format": "cid"
            }
          }
        }
      }
    }
  }
}

← All methods