Add a member to the ozone team. Requires admin role.
Input
Encoding
application/jsondid
stringdid
Required
A decentralized identifier (DID).
role
string
Required
No description available.
Output
Encoding
application/jsonErrors
MemberAlreadyExists
Member already exists in the team. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"did",
"role"
],
"properties": {
"did": {
"type": "string",
"format": "did"
},
"role": {
"type": "string",
"knownValues": [
"tools.ozone.team.defs#roleAdmin",
"tools.ozone.team.defs#roleModerator",
"tools.ozone.team.defs#roleVerifier",
"tools.ozone.team.defs#roleTriage"
]
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "MemberAlreadyExists",
"description": "Member already exists in the team."
}
],
"output": {
"schema": {
"ref": "tools.ozone.team.defs#member",
"type": "ref"
},
"encoding": "application/json"
},
"description": "Add a member to the ozone team. Requires admin role."
}