{{getMsg('Help_YouAreHere')}}:
/
{{page.title}}
{{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}}
{{helpModel.downloadHelpPdfDataStatus}}
Leave Direct Messages Channel
The request allows the currently logged in user to leave the direct message conversation with the user denoted by the userID
.
POST /api/cowork/teams/directmessages/<userID>/leave
Request to leave the channel. The handler requires a POST request. An error is returned if the currently logged in user is not in a direct messages channel with the given userID
.
Example Request
# Request # Use user:password for authorization POST /api/cowork/teams/directmessages/7tga14nykz3vgehra094nz418 HTTP/1.1 Accept: */* Authorization: Bearer VGhpcyBpcyBqdXN0IGEgZGVtbyBhY2Nlc3MgdG9rZW4u # Response HTTP/1.1 204 No Content