Set a member's full role set. Requires role.assign; every role added or removed must be in the caller's assignable set.
Input
Encoding
application/jsongroup
stringdid
Required
The group DID. Every method is served by the group's host and authorized against that group's roles.
member
stringdid
Required
A decentralized identifier (DID).
roles
array
Required
No description available.
Errors
NotAssignable
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Set a member's full role set. Requires role.assign; every role added or removed must be in the caller's assignable set.",
"errors": [
{
"name": "NotAssignable"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"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"
},
"member": {
"format": "did",
"type": "string"
},
"roles": {
"items": {
"maxLength": 64,
"type": "string"
},
"type": "array"
}
},
"required": [
"group",
"member",
"roles"
],
"type": "object"
}
},
"type": "procedure"
}