us.off-the-clock.subspace.putMember

Add a member to a subspace or replace their read, write and admin values. Auth: OAuth as the authority with manage=update, or service auth from a subspace admin.

Repository @off-the-clock.us did:plc:tevv7zpavtjtsvqrrwwipobt not from the namespace authority
Details · procedure
Kindprocedure
Authoritysubspace.off-the-clock.us
Indexed

Procedure

procedure · POST

Input

application/json

admin

boolean

Set only by the authority.

  • default: false

did

requiredstring · did

read

requiredboolean

space

requiredstring · space-ref

Reference to the subspace.

write

requiredboolean

Errors

SpaceNotFound

No description in schema.

PolicyMismatch

The space is not governed by the subspace policy.

NotAuthorized

No description in schema.

ParentMembershipRequired

The space has a parent and the DID lacks parent membership.

AuthorityRequired

Setting admin, or changing an admin's entry, requires the authority.

Similar lexicons

semantic match

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

  • Add a member to a space. Caller must be the space owner.

  • us.off-the-clock.subspace.removeMember

    procedure not from the namespace authority

    Remove a member from a subspace and cascade to its subspaces. Idempotent. Auth: OAuth as the authority with manage=update, or service auth from a subspace admin.

  • Add a member to a space. Caller must be the space owner.

  • us.off-the-clock.subspace.listMembers

    query not from the namespace authority

    List a subspace's member entries. Auth: OAuth as the authority with a covering read_self grant, or service auth from a subspace admin.

  • us.off-the-clock.subspace.member

    record not from the namespace authority

    The published member entries of one account, keyed by the member's DID, across every subspace that publishes its members to the space holding this record. Written by the authority's host to the authority's own repo. Authoritative only in the authority's repo.