dev.knotless.endOrgMembership
Deletes the account's dev.knotless.orgAcceptance records naming the organization, then asks its gateway to take the account out (dev.knotless.leaveOrg). The membership ends with the records: a gateway that does not answer leaves a warning. 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
| Kind | procedure |
|---|---|
| Authority | knotless.dev |
| Indexed |
Procedure
procedure · POSTInput
application/jsonThe organization.
Output
application/jsonwarning
stringSet 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 matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
dev.knotless.removeFromOrg
procedureTakes 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.
-
dev.knotless.deleteOrg
procedureEnds the organization the account logged in to this appview's pages is, as `knotless org delete` does.
-
dev.knotless.leaveOrg
procedureTakes 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.
-
dev.knotless.removeOrgMember
procedureTakes 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.
-
dev.knotless.setOrgMembership
procedureJoins an organization as the account logged in to this appview's pages, or shows or hides that membership, as `knotless org join` does.