dev.knotless.removeFromOrg

lexicons.knotless.dev

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "As the organization itself, or one of its admins, asks the organization's gateway to take the account out (dev.knotless.removeOrgMember). Requires the session cookie the pages' login sets: the appview acts with the session it keeps for that account. Clients holding their own session call the organization's gateway themselves.",
      "errors": [
        {
          "description": "The change was refused: by the organization's gateway, or as the account may not make it.",
          "name": "InvalidRequest"
        },
        {
          "description": "No account is logged in to the pages, or its session has ended.",
          "name": "AuthenticationRequired"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "member": {
              "description": "The account to take out.",
              "format": "did",
              "type": "string"
            },
            "org": {
              "description": "The organization.",
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "org",
            "member"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "warning": {
              "description": "Set when the change was made only in part, saying what is left.",
              "maxLength": 2000,
              "type": "string"
            }
          },
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Takes an account out of an organization as the account logged in to this appview's pages, or withdraws its invitation, as `knotless org remove` does.",
  "id": "dev.knotless.removeFromOrg",
  "lexicon": 1
}

Validate Record

Validate a record against dev.knotless.removeFromOrg

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:yqsg7znbbhfmj3a2nrpnaerk
CID
bafyreiff7alab4uyzqi46zmss7y2uz5usoeaagzbyhgzxcmvp7hb5kom7m
Indexed At
2026-10-29 17:01 UTC
AT-URI
at://did:plc:yqsg7znbbhfmj3a2nrpnaerk/com.atproto.lexicon.schema/dev.knotless.removeFromOrg

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Leaves an organization as the account logged in to this appview's pages, or declines its invitation, as `knotless org leave` does.

  • Ends the organization the account logged in to this appview's pages is, as `knotless org delete` does.

  • Takes a member out of an organization, or withdraws an invitation, through the gateway the organization delegated writes to, which writes as the organization: out of its records, its space and its private repositories' …

  • Takes the caller out of an organization they left by deleting their dev.knotless.orgAcceptance record, through the gateway the organization delegated writes to: out of its records, its space and its private repositories…

  • Invites an account to an organization as the account logged in to this appview's pages, or changes its role, as `knotless org add` does.

Lexicon Garden

@