The request allows the currently logged in user to leave the direct message conversation with the user denoted by the userID
.
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
.
# 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