dev.knotless.setOrgMembership
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Writes the account's dev.knotless.orgAcceptance record where the visibility says, in its public records or in the organization's space, takes back one in the other place, and asks the organization's gateway to take it in (dev.knotless.joinOrg). 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": {
"org": {
"description": "The organization.",
"format": "did",
"type": "string"
},
"visibility": {
"description": "Who may see the membership: anyone, or the organization's members alone.",
"knownValues": [
"public",
"hidden"
],
"maxLength": 64,
"type": "string"
}
},
"required": [
"org",
"visibility"
],
"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": "Joins an organization as the account logged in to this appview's pages, or shows or hides that membership, as `knotless org join` does.",
"id": "dev.knotless.setOrgMembership",
"lexicon": 1
}
Metadata
- DID
-
did:plc:yqsg7znbbhfmj3a2nrpnaerk - CID
-
bafyreidpp4jva4mikofqpleebg2kp2vrf5fcapvbrfrjwhdgwuddwnlxne - Indexed At
- 2026-10-29 17:40 UTC
- AT-URI
-
at://did:plc:yqsg7znbbhfmj3a2nrpnaerk/com.atproto.lexicon.schema/dev.knotless.setOrgMembership
Version History (2 versions)
- 2026-10-29 17:40 UTC (current)
- 2026-10-29 17:01 UTC diff
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
dev.knotless.joinOrg procedure
Takes the caller into an organization that invited them, once they keep a dev.knotless.orgAcceptance record naming it, through the gateway the organization delegated writes to: names them in its public record when their…
-
dev.knotless.inviteToOrg procedure
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.
-
dev.knotless.endOrgMembership procedure
Leaves an organization as the account logged in to this appview's pages, or declines its invitation, as `knotless org leave` does.
-
dev.knotless.putOrgMember procedure
Invites an account to an organization, or changes a member's role, through the gateway the organization delegated writes to, which writes as the organization. The caller must be an admin of it who joined. Requires a ser…
-
dev.knotless.getOrg query
An organization's members on knotless.