Skip to content

tools.ozone.team.deleteMember

Lexicon Version: 1

Type: procedure

Delete a member from ozone team. Requires admin role.

Parameters: (None defined)

Input:

  • Encoding: application/json
  • Schema:

Schema Type: object

NameTypeReq’dDescriptionConstraints
didstringFormat: did
Possible Errors:
  • MemberNotFound: The member being deleted does not exist
  • CannotDeleteSelf: You can not delete yourself from the team

{
"lexicon": 1,
"id": "tools.ozone.team.deleteMember",
"defs": {
"main": {
"type": "procedure",
"description": "Delete a member from ozone team. Requires admin role.",
"input": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": [
"did"
],
"properties": {
"did": {
"type": "string",
"format": "did"
}
}
}
},
"errors": [
{
"name": "MemberNotFound",
"description": "The member being deleted does not exist"
},
{
"name": "CannotDeleteSelf",
"description": "You can not delete yourself from the team"
}
]
}
}
}