social.colibri.labeler.unlinkExternalAccount

Removes the link between the calling account and an external funding platform. Deletes the `social.colibri.labeler.attestation` record and negates any badge the link was the basis for. Authorized the same way as `social.colibri.labeler.linkExternalAccount`, so an account can only unlink itself.

Repository @colibri.social did:plc:mprdjqjluoswa7awzggaggj3 not from the namespace authority
Details · procedure
Kindprocedure
Authoritylabeler.colibri.social
Indexed
cid bafyreic2wyujoxbmxxpdeibeu3vvpxs7ztrs5247kdnz2t44jye3bblr3y

Checks

Valid
  • unlimited-string defs.main.input.schema.properties.platformNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Removes the link between the calling account and an external funding platform. Deletes the `social.colibri.labeler.attestation` record and negates any badge the link was the basis for. Authorized the same way as `social.colibri.labeler.linkExternalAccount`, so an account can only unlink itself.",
      "errors": [
        {
          "description": "Missing, malformed, or unverifiable service auth.",
          "name": "AuthRequired"
        },
        {
          "description": "A parameter was missing or malformed.",
          "name": "InvalidRequest"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "platform": {
              "description": "The external platform to unlink.",
              "knownValues": [
                "opencollective"
              ],
              "type": "string"
            }
          },
          "required": [
            "platform"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "negatedLabelVals": {
              "description": "Badge values revoked as part of unlinking.",
              "items": {
                "maxLength": 100,
                "type": "string"
              },
              "type": "array"
            },
            "unlinked": {
              "description": "False when there was no link to remove, which is not an error.",
              "type": "boolean"
            }
          },
          "required": [
            "unlinked"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "social.colibri.labeler.unlinkExternalAccount",
  "lexicon": 1,
  "revision": 1
}