dev.knotless.setOrgMembership

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.

Details · procedure
Kindprocedure
Authorityknotless.dev
Indexed

Procedure

procedure · POST

Input

application/json

org

requiredstring · did

The organization.

visibility

requiredstring

Who may see the membership: anyone, or the organization's members alone.

  • maxLength: 64
  • knownValues: public | hidden

Output

application/json

warning

string

Set when the change was made only in part, saying what is left.

  • maxLength: 2000

Errors

InvalidRequest

The change was refused: by the organization's gateway, or as the account may not make it.

AuthenticationRequired

No account is logged in to the pages, or its session has ended.

Similar lexicons

semantic match

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

  • 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 acceptance record is public, and only in its space when it is in their repo there; lets them read its space and its private repositories. Called again after moving the record, it changes how the membership shows. Refused when the invitation lapsed. Requires a service token from t

  • 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.

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

  • 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 service token from the caller's PDS, audience the gateway's DID, for this method.

  • An organization's members on knotless.