fyi.opensocial.deleteSpace

Delete a group space and its index entry. Requires space.delete.

Details · procedure
Kindprocedure
Authorityopensocial.fyi
Indexed

Showing version bafyreickvdomjn47duyl2vibtcwbpk3ketxznnqvzpxoog45aqw3ipoyhi. Show the latest

Procedure

procedure · POST

Input

application/json

group

requiredstring · did

The group DID. Every method is served by the group's host and authorized against that group's roles.

space

requiredstring · space-ref

Output

application/json

Errors

SpaceNotFound

The group has no such space.

ReservedSpace

The meta and members spaces can't be created or deleted.

Similar lexicons

semantic match

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

  • Delete the group: its account, its repo and its spaces on this host, and the host's own state about it. Irreversible. Requires group.configure, or, for a deactivated group, having held it when the group was switched off. Records members wrote into its spaces live on their own PDSes and are not touched. If no steward holds a recovery key, the group's did:plc is tombstoned too, since nobody could ever use it again; with one, the DID is left for its holders.

  • Delete a space from the arbiter.

  • Deletes the community's spaces and its account. Members' own records stay in their own repos and simply become unreadable.

  • Create a space under the group with its access record and, unless index is false, an index entry. Requires space.create.

  • Remove a role. Requires group.configure. Fails if any membership still holds it.