Leaves a conversation (direct or group). For group, this effectively removes membership. For direct, membership is never removed, only changed to remove from enumerations by the user who left.
Input
Encoding
application/jsonconvoId
string
Required
No description available.
Output
Encoding
application/jsonconvoId
string
Required
No description available.
rev
string
Required
No description available.
Errors
InvalidConvo
OwnerCannotLeave
The owner of a group conversation cannot leave before locking the group. 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": [
"convoId"
],
"properties": {
"convoId": {
"type": "string"
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "InvalidConvo"
},
{
"name": "OwnerCannotLeave",
"description": "The owner of a group conversation cannot leave before locking the group."
}
],
"output": {
"schema": {
"type": "object",
"required": [
"convoId",
"rev"
],
"properties": {
"rev": {
"type": "string"
},
"convoId": {
"type": "string"
}
}
},
"encoding": "application/json"
},
"description": "Leaves a conversation (direct or group). For group, this effectively removes membership. For direct, membership is never removed, only changed to remove from enumerations by the user who left."
}