dev.knotless.removeFromOrg

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.

Details · procedure
Kindprocedure
Authorityknotless.dev
Indexed

Procedure

procedure · POST

Input

application/json

member

requiredstring · did

The account to take out.

org

requiredstring · did

The organization.

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.

  • 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' spaces, but for repositories shared with them on their own. 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.

  • 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' spaces, but for repositories shared with them on their own. The membership ended with the record; this takes back what the organization had let them read. Requires a service token from the caller's PDS, audience the gateway's DID, for this method.

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