Change a space's config: its name, who can read it, and which roles may act as the group in it. Requires space.configure.
Input
application/jsoncredentialScopes
array
Optional
Replace which roles may act as the group in this space, and for which collections. Omitted means unchanged.
group
stringdid
Required
The group DID. Every method is served by the group's host and authorized against that group's roles.
name
string
Optional
No description available.
readableBy
array
Optional
No description available.
space
stringspace-ref
Required
No description available.
writableBy
array
Optional
Who may write into the space in their own name: role ids, or 'public' for anyone signed in. Absent is any member. Empty puts it back to any member.
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Change a space's config: its name, who can read it, and which roles may act as the group in it. Requires space.configure.",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"credentialScopes": {
"description": "Replace which roles may act as the group in this space, and for which collections. Omitted means unchanged.",
"items": {
"ref": "fyi.opensocial.access#roleScopes",
"type": "ref"
},
"type": "array"
},
"group": {
"description": "The group DID. Every method is served by the group's host and authorized against that group's roles.",
"format": "did",
"type": "string"
},
"name": {
"type": "string"
},
"readableBy": {
"items": {
"type": "string"
},
"type": "array"
},
"space": {
"format": "space-ref",
"type": "string"
},
"writableBy": {
"description": "Who may write into the space in their own name: role ids, or 'public' for anyone signed in. Absent is any member. Empty puts it back to any member.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"group",
"space"
],
"type": "object"
}
},
"type": "procedure"
}