at.happyproto.registry.withdrawRelease

Delete a release record the caller published. This is how a publisher withdraws a release: it deletes from the caller's own repo as them, where com.atproto.repo.deleteRecord sent through a HappyView instance goes wherever that instance's proxy routing points. The release stays indexed and served by exact version, marked withdrawn, and the version can never be published again.

Repository @happyproto.at did:plc:mo7vq4jbioxwafy5zkcc3eux namespace authority
Details · procedure
Kindprocedure
Authorityregistry.happyproto.at
Indexed
cid bafyreich2ugcnjjpom2vs6ywnbvgb4irkgxlrq5prek2m3gtz3iav2zjma

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Delete a release record the caller published. This is how a publisher withdraws a release: it deletes from the caller's own repo as them, where com.atproto.repo.deleteRecord sent through a HappyView instance goes wherever that instance's proxy routing points. The release stays indexed and served by exact version, marked withdrawn, and the version can never be published again.",
      "errors": [
        {
          "description": "The caller's identity could not be determined, so there is no repo to delete from.",
          "name": "AuthRequired"
        },
        {
          "description": "The slug or version could not name a release.",
          "name": "InvalidRequest"
        },
        {
          "description": "That version is not published from the caller's account, or was already withdrawn.",
          "name": "ReleaseNotFound"
        },
        {
          "description": "The record could not be deleted from the caller's repo.",
          "name": "Upstream"
        },
        {
          "description": "The registry has no identity configured.",
          "name": "NotConfigured"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "slug": {
              "description": "The package slug.",
              "maxLength": 128,
              "type": "string"
            },
            "version": {
              "description": "The version to withdraw, as published.",
              "maxLength": 256,
              "type": "string"
            }
          },
          "required": [
            "slug",
            "version"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "uri": {
              "description": "The release record deleted.",
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "uri"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "at.happyproto.registry.withdrawRelease",
  "lexicon": 1
}