Refused when the organization did not invite the caller, the caller keeps no acceptance record naming it, or the invitation lapsed.
Input
application/jsonorg
stringdid
Required
The organization.
visibility
string
Optional
Which of the caller's acceptance records counts, should they keep one in public and one in the organization's space, as they do moving it: a hidden one, if asked for; else a public one first.
maxLength: 64 bytesOutput
application/jsonorg
string
Required
The organization's handle, or its DID when none resolves back to it.
role
string
Required
The caller's role in it.
admin, membervisibility
string
Required
Who sees the membership: anyone, or the organization's members.
public, hiddenTry It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Refused when the organization did not invite the caller, the caller keeps no acceptance record naming it, or the invitation lapsed.",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"org": {
"description": "The organization.",
"format": "did",
"type": "string"
},
"visibility": {
"description": "Which of the caller's acceptance records counts, should they keep one in public and one in the organization's space, as they do moving it: a hidden one, if asked for; else a public one first.",
"knownValues": [
"public",
"hidden"
],
"maxLength": 64,
"type": "string"
}
},
"required": [
"org"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"org": {
"description": "The organization's handle, or its DID when none resolves back to it.",
"maxLength": 300,
"type": "string"
},
"role": {
"description": "The caller's role in it.",
"knownValues": [
"admin",
"member"
],
"maxLength": 64,
"type": "string"
},
"visibility": {
"description": "Who sees the membership: anyone, or the organization's members.",
"knownValues": [
"public",
"hidden"
],
"maxLength": 64,
"type": "string"
}
},
"required": [
"org",
"role",
"visibility"
],
"type": "object"
}
},
"type": "procedure"
}