@defer.inlineCallbacks
    def on_POST(self, request):
        try:
            access_token = request.args["access_token"][0]
        except __HOLE__:
            raise AuthError(
                self.TOKEN_NOT_FOUND_HTTP_STATUS, "Missing access token.",
                errcode=Codes.MISSING_TOKEN
            )
        yield self.store.delete_access_token(access_token)
        defer.returnValue((200, {}))
dataset/ETHPy150Open matrix-org/synapse/synapse/rest/client/v1/logout.py/LogoutRestServlet.on_POST