dev.knotless.deleteSecret

Deletes the secrets dev.knotless.putSecret left for a repository the caller owns, or administers as an organization's admin who joined: those of a name, those sealed to a runner, or both; with neither, all of the repository's. Requires a service token from the caller's PDS, audience the appview's DID, for this method, or the appview's own pages' login, as their writes take it.

Details · procedure
Kindprocedure
Authorityknotless.dev
Indexed
cid bafyreiaua42otmfuy5cenxyukxfzyzwwnyzvmv6tpp6g5jfqhcd2zz2jv4

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Deletes the secrets dev.knotless.putSecret left for a repository the caller owns, or administers as an organization's admin who joined: those of a name, those sealed to a runner, or both; with neither, all of the repository's. Requires a service token from the caller's PDS, audience the appview's DID, for this method, or the appview's own pages' login, as their writes take it.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "name": {
              "description": "Only the secret of this name, for every runner.",
              "maxLength": 64,
              "type": "string"
            },
            "owner": {
              "description": "The repository's owner; absent, the caller. Another account only when the caller is an admin who joined it as an organization.",
              "format": "did",
              "type": "string"
            },
            "repo": {
              "description": "The repository's key, as its dev.knotless.repo record holds it.",
              "maxLength": 32,
              "type": "string"
            },
            "runner": {
              "description": "Only those sealed to this runner.",
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "repo"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "deleted": {
              "description": "How many were deleted, one for each runner a name was sealed to.",
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "deleted"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "dev.knotless.deleteSecret",
  "lexicon": 1
}