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
{
"description": "Add a member to the ozone team. Requires admin role.",
"errors": [
{
"description": "Member already exists in the team.",
"name": "MemberAlreadyExists"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"did": {
"format": "did",
"type": "string"
},
"role": {
"knownValues": [
"tools.ozone.team.defs#roleAdmin",
"tools.ozone.team.defs#roleModerator",
"tools.ozone.team.defs#roleVerifier",
"tools.ozone.team.defs#roleTriage"
],
"type": "string"
}
},
"required": [
"did",
"role"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"ref": "tools.ozone.team.defs#member",
"type": "ref"
}
},
"type": "procedure"
}