fyi.opensocial.updateSpace

Change a space: its name in the group's index, and its access record, replaced whole. Requires space.configure.

Details · procedure
Kindprocedure
Authorityopensocial.fyi
Indexed

Showing version bafyreidigyuyubfxgyuqjhlpx63djdv25ycklmp3ofb7xa24rb4yjftsoi. Show the latest

Procedure

procedure · POST

Input

application/json

The access record the space has now. Omitted means unchanged.

group

requiredstring · did

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

name

string

What the group calls it, kept in its index entry.

  • maxLength: 640
  • maxGraphemes: 64

space

requiredstring · space-ref

Output

application/json

Errors

SpaceNotFound

The group has no such space, or, to name it, none in its index.

UnknownRole

A grant names a role that doesn't exist.

InvalidScope

A grant isn't a space scope.

Similar lexicons

semantic match

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

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

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